Switch to DuckDuckGo Search
   July 14, 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:05] <TheAceOfHearts> like, RubyMine isn't THAT bad eithr
[00:00:14] <TheAceOfHearts> but it's still slower than sublime text
[00:00:17] <TheAceOfHearts> and well, it does a TON more stuff
[00:00:23] <wafflejock> it doesn't do a ton without some plugins and even then some things are missing but it's super fast
[00:00:24] <TheAceOfHearts> so for a lot of people it's worth the tradeoff
[00:00:51] <wafflejock> well it doesn't do a ton in terms of completion that is without plugins and the JSHint plugin is nice for JS development
[00:00:51] <TheAceOfHearts> sublime text isn't really usable without plugins :P
[00:00:53] *** Ir1sh has quit IRC
[00:00:56] *** bsmithgall has quit IRC
[00:00:56] *** holymac has joined #angularjs
[00:01:02] *** bsmithga_ has joined #angularjs
[00:01:46] <wafflejock> I like being able to easily setup my own snippets if I feel like I'm repeating some pattern and it can't be abstracted in code better
[00:02:03] <TheAceOfHearts> I do that with sublime :P
[00:02:19] <wafflejock> yup same, you can do it with other IDEs too but it's pretty dern simple in sublime
[00:02:35] <TheAceOfHearts> I would love to love Atom, and I'm sure it'll get there EVENTUALLY, which is great!!
[00:02:37] *** H1FuelCell has quit IRC
[00:02:41] *** ayman has quit IRC
[00:02:41] <TheAceOfHearts> but right now it doesn't feel like it's there yet
[00:03:10] <ishi> oh... so I should try Atom, you say?
[00:03:20] <TheAceOfHearts> Atom is great
[00:03:28] <wafflejock> Sublime isn't really a "full IDE" but it's my fav editor so far
[00:03:31] <TheAceOfHearts> I think it'll be amazing in some time
[00:03:32] *** gnrlbzik has quit IRC
[00:03:46] *** H1FuelCell has joined #angularjs
[00:03:55] <wafflejock> having used Eclipse, Netbeans, Visual Studio going back to something really light is a great change
[00:03:57] <TheAceOfHearts> but I value stability and performance very highly; people make different tradeoffs :P
[00:04:09] <TheAceOfHearts> ah, Visual Studio is surprisingly good, honestly
[00:04:15] <wafflejock> yeah for sure but heavy
[00:04:21] <TheAceOfHearts> I tried it very briefly and I was amazed by how powerful it as
[00:04:23] <TheAceOfHearts> was*
[00:04:33] <wafflejock> yeah it's great for debugging
[00:04:56] <wafflejock> and the integration with MS stuff is good but hard to use outside that ecosystem I feel like
[00:05:04] <TheAceOfHearts> ah, I use RubyMine for debugging my Rails code :D
[00:05:05] *** sdouglas has quit IRC
[00:05:19] *** davedev24_ has quit IRC
[00:05:31] *** tarnus is now known as tarnus-afk
[00:05:50] *** davedev24_ has joined #angularjs
[00:06:21] <wafflejock> yeah haven't really configured anything for stepping through PHP, would be good to integrate SublimeText with XDebug but I haven't tried hooking it up yet... how do you peoples step through node work?
[00:06:29] *** arrty has quit IRC
[00:06:34] *** chrisbirk has joined #angularjs
[00:06:57] <ishi> hmm... now when the page is loading, the title is {{something...}}
[00:07:07] *** arrty has joined #angularjs
[00:07:13] <wafflejock> ishi: sounds like angular erroring out or not loading check the console
[00:07:13] <TheAceOfHearts> wafflejock: I don't do node :(
[00:07:17] *** bphogan_afk is now known as bphogan
[00:07:27] <wafflejock> TheAceOfHearts: yeah me neither just curious
[00:07:31] <ishi> wafflejock: naah... it works, once it loads... but while it's loading
[00:07:48] <wafflejock> ishi: ah you can use ng-cloak
[00:07:55] <ishi> oh... /me googles :)
[00:07:56] *** anjumkaiser has quit IRC
[00:08:03] *** 7JTAABZB6 has joined #angularjs
[00:08:43] <TheAceOfHearts> wafflejock: you can use chrome debugging tools with node
[00:08:46] <ishi> wafflejock: for <title> tag??
[00:09:02] <wafflejock> ishi: oh no not normally
[00:09:04] <wafflejock> hmm
[00:09:36] <wafflejock> ishi: think you would maybe want to make a custom directive you put on the body that updates the title on load
[00:09:53] *** H1FuelCell_ has joined #angularjs
[00:09:55] <ishi> oh... cool... this would work. Thanks :)
[00:09:56] *** holymac has quit IRC
[00:10:30] *** ustunozgur has joined #angularjs
[00:10:44] *** danielpquinn has joined #angularjs
[00:10:47] *** H1FuelCell has quit IRC
[00:10:49] *** bphogan is now known as bphogan_afk
[00:11:08] *** tangorri has quit IRC
[00:11:28] *** arrty has quit IRC
[00:12:26] <wafflejock> TheAceOfHearts: how does that work like remote debugging?
[00:12:38] <wafflejock> got a link?
[00:13:07] *** Trow has joined #angularjs
[00:13:10] *** senayar has quit IRC
[00:13:31] *** davedev24_ has quit IRC
[00:13:31] *** DrMabuse_ has quit IRC
[00:13:32] *** bphogan_afk is now known as bphogan
[00:13:46] *** senayar has joined #angularjs
[00:14:05] *** davedev24_ has joined #angularjs
[00:14:39] *** chrisbirk has quit IRC
[00:15:04] *** danielpquinn has quit IRC
[00:16:03] *** foo-bar- has joined #angularjs
[00:16:30] *** Nizumzen has joined #angularjs
[00:16:54] *** edrocks has joined #angularjs
[00:17:44] *** yoshokatana has joined #angularjs
[00:18:59] *** postitnote has joined #angularjs
[00:19:13] *** postitnote has left #angularjs
[00:20:48] *** foo-bar- has quit IRC
[00:22:13] <davek> Github acting up for nyoen else?
[00:22:16] <davek> anyone*
[00:22:31] <wafflejock> not doing anything with it but can get to the main site
[00:23:05] *** Guest44340 has joined #angularjs
[00:23:09] <wafflejock> http://www.downforeveryoneorjustme.com/github.com
[00:23:37] *** anjumkaiser has joined #angularjs
[00:23:38] *** dutis has quit IRC
[00:23:47] *** nerdfiles has joined #angularjs
[00:23:49] <davek> That's interesting.... only github appears to be affected.
[00:24:05] *** lw has joined #angularjs
[00:24:58] *** bphogan is now known as bphogan_afk
[00:25:13] *** Brocken is now known as zz_Brocken
[00:25:29] <Foxandxss> works for me
[00:28:23] <ishi> wafflejock: I don't see how to use directives without controllerAs :(
[00:28:32] <ishi> why is controllerAs bad?
[00:28:33] *** quellhorst has quit IRC
[00:28:39] <ishi> or rather... how to replace it
[00:28:53] <ishi> I'm posting an example... hold on
[00:29:02] <wafflejock> ishi: yup that will help
[00:29:23] *** t1mmen has quit IRC
[00:29:26] *** jonog has joined #angularjs
[00:29:26] <wafflejock> ishi: plnkr.co is ideal see the link in IRC topic
[00:30:54] *** trinode has joined #angularjs
[00:31:11] *** H1FuelCell_ has quit IRC
[00:31:38] *** Limix has quit IRC
[00:31:39] *** dextorion has quit IRC
[00:33:13] <ishi> http://plnkr.co/edit/GGTatuVLyslScayeXv7A
[00:33:32] *** jonog has quit IRC
[00:33:32] *** DrMabuse has joined #angularjs
[00:33:36] <ishi> ok, I want to use this md-title in <title> tag, but it doesn't show in pluck, so I added one in <p>
[00:35:23] *** caitp has quit IRC
[00:35:49] <ishi> I don't know how to reference the controller without alias
[00:36:15] <ishi> if I do {{MenuCtrl.getTitle()}}, it doesn't wrok.
[00:36:18] <ishi> work, even
[00:36:28] <ishi> doesn't work
[00:36:35] <ishi> ;)
[00:37:42] *** mikehaas763 has quit IRC
[00:38:59] *** lw has quit IRC
[00:39:29] <ishi> I hope you didn't have a heart attack... It's my first day angularing and most of it I spent trying to setup my env
[00:39:41] *** lw has joined #angularjs
[00:39:59] *** idvb has quit IRC
[00:40:09] *** instence has quit IRC
[00:40:35] *** idvb has joined #angularjs
[00:41:11] *** rkalfane has left #angularjs
[00:42:11] <oniijin> really if you're starting out just play around in plnkr
[00:42:33] *** homey has joined #angularjs
[00:42:33] *** mikehaas763 has joined #angularjs
[00:43:14] <ishi> why?
[00:43:14] *** davedev24_ has quit IRC
[00:43:25] *** davedev24_ has joined #angularjs
[00:44:30] <ishi> anyways... how can I do this directive w/o havning this controllerAs? There must be a way...
[00:45:00] *** CmdrTallen_ has quit IRC
[00:45:11] *** idvb has quit IRC
[00:45:13] <ishi> probably something with $
[00:46:28] <Foxandxss> what's the problem you're having with controllerAs?
[00:46:31] <Foxandxss> shouldn't be any
[00:46:33] *** homey has quit IRC
[00:46:47] *** drej has quit IRC
[00:47:03] *** drej has joined #angularjs
[00:47:42] *** testerde has joined #angularjs
[00:48:02] *** kalusn_ has quit IRC
[00:48:35] <testerde> zelrik: thanks for the help!
[00:48:45] <zelrik> lol
[00:48:55] <zelrik> what did I do again
[00:49:00] <testerde> who was the other guy? ;)
[00:49:13] <testerde> helped me with the directive
[00:49:17] <zelrik> I forgot
[00:49:20] *** Tidwell1 has joined #angularjs
[00:49:30] <zelrik> I forgot even about your problem
[00:49:39] <zelrik> what was it
[00:49:54] *** Trow has quit IRC
[00:50:04] <zelrik> I might have alzheimer
[00:50:13] <testerde> this one here: http://jsbin.com/noxebepo/1/edit
[00:50:20] *** Tidwell has quit IRC
[00:50:32] <zelrik> oh that one
[00:50:45] <zelrik> yeah, not sure why you did something that complicated
[00:50:51] <testerde> but there is still one problem left: how to add a sibling to a given node :D
[00:51:32] <testerde> zelrik: if its to complicated: how to do it better? *g* i'm always interesting in learning better ways
[00:52:11] *** yoshokatana has joined #angularjs
[00:52:18] <ishi> Foxandxss: I was told not to use it
[00:52:25] *** jpstone has joined #angularjs
[00:52:30] <Foxandxss> why?
[00:52:33] <zelrik> I am too toast to think about it today testerde
[00:52:44] <zelrik> I think I ll head out for food and chill
[00:52:56] *** dc_ has joined #angularjs
[00:53:09] *** Limix has joined #angularjs
[00:53:16] <ishi> Foxandxss: I quote: 'cuz 1% of people do, and nobody is going to be able to answer your questions'
[00:53:18] <snurfery> I thought you said food and chili
[00:53:22] <zelrik> somebody else might help you
[00:53:31] <snurfery> and was confused momentarily
[00:53:32] <Foxandxss> there shouldn't be too much questioning tho
[00:53:34] *** nerdfiles has quit IRC
[00:53:36] <zelrik> snurfery, lol
[00:53:41] *** Mouzi has quit IRC
[00:53:56] *** AWAW has quit IRC
[00:54:17] *** arizzo has joined #angularjs
[00:54:29] <ishi> ok, I'll use it... just out of interest... in this plunk... is there a way to not use controllerAs?
[00:54:41] <Foxandxss> which bin?
[00:54:44] <Foxandxss> just use what you want
[00:54:46] <Foxandxss> I don't use it
[00:54:47] *** Limix has quit IRC
[00:55:00] <ishi> http://plnkr.co/edit/GGTatuVLyslScayeXv7A?p=preview
[00:55:46] <Foxandxss> wht changes you want there?
[00:56:10] <zelrik> what the hell
[00:56:11] <ishi> Foxandxss: the point of this was to have a <title> prepopulated with something other than {{some junk}} and resolving to a dynamic title.
[00:56:18] *** Illianthe has quit IRC
[00:56:25] *** arrty has joined #angularjs
[00:56:26] <ishi> Foxandxss: I'd like to avoid using controllerAs
[00:56:35] <Foxandxss> remove it?
[00:56:37] <zelrik> then just use a regular controller
[00:56:41] *** Illianthe has joined #angularjs
[00:56:46] <zelrik> and use $scope
[00:56:53] <ishi> Foxandxss: well... but I'd like to retain the functionality :)
[00:57:06] <ishi> there!
[00:57:11] <ishi> I knew it'd be something with $
[00:57:35] <zelrik> people code in some weird ways
[00:57:47] <ishi> so... what's this $scope?
[00:57:47] <Foxandxss> ishi: http://plnkr.co/edit/uJB1dPoIIGuCgGAa5rUd?p=preview
[00:57:51] *** Limix has joined #angularjs
[00:58:03] <zelrik> ishi, it s your bread and butter
[00:58:03] *** w1ther has quit IRC
[00:58:31] <ishi> zelrik: what's the scope of $scope?
[00:58:39] <ishi> Foxandxss: did you change anything?
[00:58:49] <zelrik> ishi, you should read the docs :)
[00:58:56] <zelrik> and perhaps watch a tutorial or 2
[00:58:59] <zelrik> I am off
[00:59:23] <ishi> will do
[00:59:25] <ishi> thanks :)
[00:59:51] *** cpciv has joined #angularjs
[01:00:37] *** lw has quit IRC
[01:00:41] *** Tidwell1 has quit IRC
[01:00:58] <zelrik> that thing doesnt need a controller
[01:01:11] *** arrty has quit IRC
[01:01:20] <zelrik> or a directive even
[01:01:21] <zelrik> :)
[01:01:26] *** tarnus-afk is now known as tarnus
[01:01:48] *** Tidwell has joined #angularjs
[01:02:00] <ishi> zelrik: well... how to do it w/o directive?
[01:02:24] <testerde> argh... calling a function of my directive now leads to a twice call :(
[01:02:26] *** caitp has joined #angularjs
[01:02:27] <testerde> how to avoid this?
[01:02:28] *** cpciv has quit IRC
[01:02:46] *** lw has joined #angularjs
[01:03:05] *** arizzo has quit IRC
[01:03:51] *** arizzo has joined #angularjs
[01:04:37] *** VictorBjelkholm has quit IRC
[01:04:58] <testerde> i guess its because of the compile function
[01:05:02] *** Tidwell has quit IRC
[01:05:06] *** bkuberek_ has quit IRC
[01:05:29] *** michaelm has joined #angularjs
[01:05:45] *** cpciv has joined #angularjs
[01:06:25] *** senayar has quit IRC
[01:06:45] *** Tidwell has joined #angularjs
[01:06:59] *** senayar has joined #angularjs
[01:07:08] *** klaut has quit IRC
[01:07:09] *** fedenunez has quit IRC
[01:07:12] *** quellhorst has joined #angularjs
[01:07:37] <wafflejock> ishi: hey back sort of
[01:07:56] *** arizzo has quit IRC
[01:08:05] <wafflejock> zelrik: was telling ishi to use a directive cause the title is normally populated in the head of the html so it's before angular can process it
[01:08:07] <TheAceOfHearts> does anyone know of a lib that wraps like IndexedDB, WebSQL, and localStorage as a general key : value storage?
[01:08:14] <wafflejock> so you see the {{}} in the title until angular loads
[01:08:22] *** VictorBjelkholm has joined #angularjs
[01:08:22] <TheAceOfHearts> like, it'll default to the best option available
[01:08:40] *** fedenunez has joined #angularjs
[01:08:44] *** quellhorst has quit IRC
[01:09:08] *** kayloos has joined #angularjs
[01:09:27] <wafflejock> TheAceOfHearts: not sure about those specific storage mechanisms but if you generically search angular storage there's a few projects out there
[01:09:32] *** Guest44340 is now known as greatdex
[01:09:34] *** Nizumzen has quit IRC
[01:09:58] <TheAceOfHearts> I've seen a few
[01:10:16] <TheAceOfHearts> but it doesn't seem like the type of thing that should be angular-specific
[01:10:49] *** tigrang has joined #angularjs
[01:11:00] <wafflejock> yeah not necessarily
[01:11:18] *** senayar has quit IRC
[01:11:19] <wafflejock> could just provide something like JDBC
[01:11:30] <TheAceOfHearts> haha
[01:11:32] <TheAceOfHearts> jdbc.
[01:11:36] *** danielpquinn has joined #angularjs
[01:11:36] *** bkuberek has joined #angularjs
[01:11:42] <TheAceOfHearts> HAHA.
[01:11:47] *** nerdfiles has joined #angularjs
[01:11:59] *** caitp has quit IRC
[01:12:37] <wafflejock> well it does basically that
[01:12:40] <wafflejock> it's PDO in PHP
[01:12:47] <wafflejock> just some abstraction layer between the storage and the language
[01:13:11] <TheAceOfHearts> JDBC is absurdly non-trivial
[01:13:18] *** kayloos has quit IRC
[01:13:25] <TheAceOfHearts> but yeah
[01:13:28] <wafflejock> well it's an interface to a database that lets you connect then run queries
[01:13:30] <TheAceOfHearts> the idea of a JDBC driver
[01:13:31] <wafflejock> at a basic level
[01:14:01] <wafflejock> with any storage key value thing you just need to store some value for some key or retrieve some value for some key so it's simpler still
[01:14:48] *** paperElectron has quit IRC
[01:14:59] <TheAceOfHearts> yeah
[01:15:07] <TheAceOfHearts> but anyway, JDBC is non-trivial
[01:15:13] <TheAceOfHearts> ugh
[01:15:58] *** danielpquinn has quit IRC
[01:16:17] *** Illianthe has quit IRC
[01:16:32] <wafflejock> I dunno I disagree http://docs.oracle.com/javase/tutorial/jdbc/overview/index.html
[01:16:37] <wafflejock> JDBC isn't that complex
[01:16:45] <wafflejock> defining an interface isn't that big of a deal
[01:16:53] <wafflejock> implementing it can be more of a PITA
[01:17:25] <TheAceOfHearts> implementing it is what I meant…
[01:17:29] <wafflejock> ah okay
[01:17:31] <wafflejock> yeah I was confused
[01:17:36] <TheAceOfHearts> it's absolutely non-trivial
[01:17:41] <wafflejock> yeah
[01:17:58] *** jtimon has quit IRC
[01:18:58] *** rburns has joined #angularjs
[01:19:12] *** motionman has quit IRC
[01:19:33] <TheAceOfHearts> my coworkers are pros at DB stuff, instead of attempting to create an adapter for FB's Presto, one coworker chose to create a PSQL gateway: https://github.com/treasure-data/prestogres
[01:19:51] <TheAceOfHearts> that way you can use PSQL's JDBC/ODBC drivers :P
[01:20:44] *** lordkryss has quit IRC
[01:21:25] <wafflejock> putting more tubes in the internets
[01:21:52] *** DrMabuse has quit IRC
[01:23:03] *** jharbaugh has joined #angularjs
[01:23:22] *** mange has joined #angularjs
[01:23:25] *** albertwchang has joined #angularjs
[01:23:27] *** cpciv has quit IRC
[01:23:43] *** avree has quit IRC
[01:23:50] *** cpciv has joined #angularjs
[01:23:50] *** squeakytoy2 has joined #angularjs
[01:24:04] *** dccc has quit IRC
[01:24:11] *** ustunozgur has quit IRC
[01:24:14] <albertwchang> does anyone know what specifically needs to be included when setting up Angular + Mocha? E.g. angular.min.js, angular-mocks.js
[01:24:15] *** quellhorst has joined #angularjs
[01:24:20] *** yoshokatana has joined #angularjs
[01:24:28] <albertwchang> i'm speaking of getting mocha tests to run under the web browser
[01:24:37] *** homey has joined #angularjs
[01:26:07] <TheAceOfHearts> wafflejock: http://brian.io/lawnchair/ found a neat looiking one :P
[01:26:24] *** caitp has joined #angularjs
[01:26:33] <davek> robdubya, didn't you have a node ES6 project you were working on?
[01:26:35] <wafflejock> TheAceOfHearts: nice yeah heard of this at some point but never checked it out really
[01:27:04] *** squeakytoy has quit IRC
[01:27:37] *** aFeijo has joined #angularjs
[01:27:39] *** InezK_away is now known as InezK
[01:27:43] <aFeijo> ahh, good... we have a channel :D
[01:27:54] <aFeijo> I'm a newbie, shall have lots of anoying questions if thats allowed here
[01:27:59] *** jerev is now known as jerev_away
[01:28:03] *** zwacky has quit IRC
[01:28:08] <TheAceOfHearts> well, you can ask
[01:28:10] <aFeijo> gotta work with Rainbow, anyone knows it?
[01:28:14] <TheAceOfHearts> nope
[01:28:16] <aFeijo> ok
[01:28:29] <aFeijo> first issue, how to connect with a mysql db?
[01:28:35] <aFeijo> wait, I'm googling
[01:28:42] <aFeijo> back in 10 minutes if I cant figure it out :)
[01:28:43] <TheAceOfHearts> uhhh
[01:28:51] <TheAceOfHearts> you'll want to do that on the server…
[01:28:54] <aFeijo> I'll probably use AJAX and php script
[01:28:56] *** CptChaos has quit IRC
[01:29:06] <aFeijo> I got a digitalocean VPS
[01:29:08] <aFeijo> its installed
[01:29:26] *** Tidwell has quit IRC
[01:29:31] <aFeijo> I'm very experienced programmer, dba, sysadmin but never worked with AngularJS yet
[01:29:34] <aFeijo> shall be fun
[01:29:38] <TheAceOfHearts> well
[01:29:49] <TheAceOfHearts> really, it should be all abstracted away from angualr
[01:29:49] * aFeijo likes TheAceOfHearts nick
[01:29:50] <TheAceOfHearts> angular*
[01:29:51] *** vintik has quit IRC
[01:29:54] <TheAceOfHearts> :P
[01:30:01] <TheAceOfHearts> your server should just be a JSON api
[01:30:06] <TheAceOfHearts> and you'll consume it
[01:30:07] <aFeijo> yeah
[01:30:13] *** jonog has joined #angularjs
[01:30:19] <aFeijo> php sound fully compatible
[01:30:26] <TheAceOfHearts> the server shouldn't matter :P
[01:30:27] <aFeijo> Angular seems pretty cool
[01:30:44] *** VictorBjelkholm has quit IRC
[01:31:06] *** snurfery has quit IRC
[01:31:43] <robdubya> davek yea
[01:32:01] *** jtimon has joined #angularjs
[01:32:02] *** Ir1sh has joined #angularjs
[01:32:08] <wafflejock> aFeijo: yeah you are probably going to want to use the rainbow.js code to make a directive since it doesn't appear one exists yet
[01:32:19] *** tfennelly has joined #angularjs
[01:32:53] *** MistahKurtz has quit IRC
[01:33:05] *** AWAW has joined #angularjs
[01:33:08] <wafflejock> aFeijo: it looks like the Rainbow code currently searches the document for the elements but instead you can write it up into a directive where you'll have the element the directive is applied to passed in and then you will run the rainbow functions on it the same way it does when it tries to search the document
[01:33:09] *** avree has joined #angularjs
[01:34:04] <wafflejock> https://github.com/ccampbell/rainbow/blob/master/js/rainbow.js see at the bottom where it sets up the onload handler and then calls to a function that looks for elements on the document
[01:34:18] *** jonog has quit IRC
[01:34:31] <wafflejock> you'd want to get rid of that and supply it the element in the link function of a custom directive
[01:35:04] <davek> robdubya, you have the repo handy? I'm trying to get an idea of structure for es6 libs.
[01:35:37] <TheAceOfHearts> I thought about this for a while, and I decided I like CommonJS
[01:36:18] *** Ir1sh has quit IRC
[01:36:34] *** tfennelly has quit IRC
[01:36:37] <wafflejock> aFeijo: writing directives isn't the easiest thing you do in angular but a great skill to have and is really what you want to do if you're going to execute some code that manipulates the DOM
[01:36:56] <robdubya> davek mmm its sort of in pieces at the moment
[01:37:01] *** VictorBjelkholm has joined #angularjs
[01:37:06] <robdubya> https://github.com/innit/CoreData
[01:37:15] *** InezK is now known as InezK_away
[01:37:49] <robdubya> prob wont help much, so ask if you have questions
[01:37:57] <robdubya> i nuked a lot of old stuff from repos yesterday
[01:41:12] *** idvb has joined #angularjs
[01:41:17] *** elxa has joined #angularjs
[01:43:20] *** kalusn has joined #angularjs
[01:45:12] *** arrty has joined #angularjs
[01:45:24] *** quantax- has joined #angularjs
[01:45:33] *** albertwchang has quit IRC
[01:45:33] *** idvb has quit IRC
[01:46:02] <davek> robdubya, ah yeah. I forgot you were using DI, just want to find a good example es6 project so I can get a feel for some of the conventions.
[01:46:32] <robdubya> davek have a look at https://github.com/angular/projects
[01:47:59] <davek> Yeah I'm just doing node though.
[01:48:17] *** holymac has joined #angularjs
[01:48:21] <davek> It's a node stream-based lib and I'm having trouble translating my usual habits into es6 magic.
[01:48:40] <robdubya> ah node
[01:48:41] <robdubya> sec
[01:50:54] *** avree has quit IRC
[01:51:09] *** ericsonluciano has quit IRC
[01:51:40] <robdubya> davek actually, the idea shouldn't really be any different
[01:51:50] <robdubya> src/ <- all your shit in here
[01:51:59] <aFeijo> wafflejock, interesting... thanks, I'll try it
[01:52:00] <robdubya> traceur -> CJS -> use it
[01:52:11] *** caitp has quit IRC
[01:52:14] *** Foxandxss has quit IRC
[01:52:15] *** CodeFriar has joined #angularjs
[01:52:34] *** DrMabuse has joined #angularjs
[01:53:58] <aFeijo> wafflejock, you mean like to create somethine like ngDB where I can interact with my database?
[01:54:26] <robdubya> davek the most complex bit is the loading really
[01:54:35] <robdubya> i'm using SystemJS and it works pretty nicely
[01:55:19] <robdubya> davek https://gist.github.com/robwormald/72696f58447d1f7ca2d7
[01:55:23] <wafflejock> aFeijo: not familiar with that one
[01:55:52] <wafflejock> aFeijo: here's one I wrote up http://shusain.github.io/angular-sh-weather/
[01:56:12] <aFeijo> wafflejock, ngDB is my own custom directive I mean
[01:56:14] <wafflejock> aFeijo: you use SublimeText? if so there's a nice completion for directives built in that gives you commented out spots you can activate various things
[01:56:23] <aFeijo> yes I do use that!
[01:56:42] <robdubya> aFeijo *services* are what interact with your DB (well, techincally with your API which interacts with your DB)
[01:56:49] <robdubya> directives are UI things
[01:57:05] <wafflejock> yeah typically directives are meant to modify the DOM or add behaviors from the markup
[01:57:09] *** DrMabuse has quit IRC
[01:57:19] <aFeijo> ahh
[01:57:22] *** Left_Turn has quit IRC
[01:58:47] *** vintik has joined #angularjs
[01:58:51] *** VictorBjelkholm has quit IRC
[02:00:48] *** vintik has quit IRC
[02:00:50] *** gnrlbzik has joined #angularjs
[02:02:10] *** dariocravero has joined #angularjs
[02:02:50] *** dariocravero has joined #angularjs
[02:03:43] *** kalusn has quit IRC
[02:04:58] *** gnrlbzik has quit IRC
[02:04:59] *** bobdobbs has joined #angularjs
[02:05:02] *** mikehaas763 has quit IRC
[02:05:21] *** mikehaas763 has joined #angularjs
[02:06:06] *** avree has joined #angularjs
[02:07:38] *** mindlace has quit IRC
[02:08:44] *** marr has quit IRC
[02:09:17] *** cphil has joined #angularjs
[02:09:44] *** vintik has joined #angularjs
[02:09:49] *** dariocravero has quit IRC
[02:11:17] *** Philp_ has joined #angularjs
[02:11:50] *** dccc has joined #angularjs
[02:12:17] *** danielpquinn has joined #angularjs
[02:12:41] *** lw has quit IRC
[02:12:51] *** [n0b0dy] has quit IRC
[02:13:01] *** [n0b0dy] has joined #angularjs
[02:13:07] *** VictorBjelkholm has joined #angularjs
[02:14:43] *** vintik has quit IRC
[02:15:21] *** michaelm has quit IRC
[02:15:43] *** cthrax has joined #angularjs
[02:15:49] <davek> So symbols still work for pseudo-privacy in es6?
[02:16:11] *** encryptd_fractl has joined #angularjs
[02:16:22] *** tylerlh has quit IRC
[02:16:36] <robdubya> afaik, though i've yet to really play w/ them
[02:16:58] *** tylerlh has joined #angularjs
[02:17:00] *** danielpquinn has quit IRC
[02:17:20] *** Philp_ has quit IRC
[02:17:22] *** holymac has quit IRC
[02:17:58] *** jonog has joined #angularjs
[02:18:24] *** holymac has joined #angularjs
[02:19:30] *** dex has joined #angularjs
[02:19:54] *** dex is now known as Guest1536
[02:19:59] <davek> robdubya, one more: how exactly does loading non-es6 modules (i.e. node modules or requireJS modules) work with respect to the new module syntax? Are you entirely on your own or does it have some compatability features for non-native AMD?
[02:20:18] *** encryptd_fractl has quit IRC
[02:20:18] *** Fishy has joined #angularjs
[02:20:58] *** tylerlh has quit IRC
[02:21:46] *** conner_ has joined #angularjs
[02:21:54] *** tomh- has quit IRC
[02:21:56] *** edrocks has quit IRC
[02:22:20] *** greatdex has quit IRC
[02:22:31] <marcospgp> I got this error, what is this all about? https://docs.angularjs.org/error/ng/areq?p0=MainController&p1=not%20a%20function,%20got%20undefined
[02:23:14] *** InezK_away is now known as InezK
[02:23:40] *** cpciv has quit IRC
[02:24:35] *** testerde has quit IRC
[02:24:49] *** tylerlh has joined #angularjs
[02:25:07] *** edrocks has joined #angularjs
[02:25:07] *** Drako_ has quit IRC
[02:26:16] <davek> marcospgp, there's really no way to tell (beyond the obvious) without seeing your code.
[02:27:04] <marcospgp> davek, ooh, I didn't notice that error documentation was, how do you say it, customized!
[02:27:09] *** cpciv has joined #angularjs
[02:27:14] <marcospgp> it says main controller because that's the problem with my code, I found it
[02:27:16] <marcospgp> awesoome :D
[02:27:44] *** tomzx is now known as tomzx`afk
[02:27:47] *** cpciv has left #angularjs
[02:28:14] *** vintik has joined #angularjs
[02:28:53] *** bphogan_afk is now known as bphogan
[02:29:07] *** gocho has joined #angularjs
[02:29:19] <robdubya> davek that's why i'm using systemJS
[02:29:21] *** 7JTAABZB6 has quit IRC
[02:29:38] *** morenoh149 has quit IRC
[02:29:54] *** sdouglas has joined #angularjs
[02:30:47] *** cpciv1 has joined #angularjs
[02:30:48] *** jharbaugh has quit IRC
[02:31:24] *** jharbaugh has joined #angularjs
[02:31:44] *** cpciv1 has quit IRC
[02:32:20] *** tfennelly has joined #angularjs
[02:32:45] *** Ir1sh has joined #angularjs
[02:33:32] *** m3l720 has quit IRC
[02:33:58] *** sdouglas has quit IRC
[02:34:43] *** InezK is now known as InezK_away
[02:35:49] *** jharbaugh has quit IRC
[02:36:33] *** edrocks has quit IRC
[02:36:36] *** cthrax has quit IRC
[02:36:54] *** encryptd_fractl has joined #angularjs
[02:37:03] *** Ir1sh has quit IRC
[02:37:11] *** tfennelly has quit IRC
[02:37:48] <robdubya> davek in the end you basically have 2 or 3 choices
[02:38:03] <robdubya> future - es6 modules loaded natively.
[02:38:22] <robdubya> today - compile to AMD / CJS, load with r.js or require
[02:38:39] <robdubya> today - use es6-module-loader / systemJS, load native modules
[02:38:59] *** ch3pa has quit IRC
[02:39:15] *** sgnl has joined #angularjs
[02:39:27] *** gocho has quit IRC
[02:39:45] *** avree has quit IRC
[02:39:58] *** sgnl has quit IRC
[02:40:03] *** fedenunez has quit IRC
[02:40:08] *** encryptd_fractl has quit IRC
[02:40:19] *** spookyfork has joined #angularjs
[02:40:34] *** sgnl has joined #angularjs
[02:40:34] *** encryptd_fractl has joined #angularjs
[02:40:49] *** sgnl has quit IRC
[02:41:02] *** marcospgp has quit IRC
[02:41:26] *** sgnl has joined #angularjs
[02:41:43] *** squeakytoy2 has quit IRC
[02:41:55] *** idvb has joined #angularjs
[02:42:10] *** justinobney has joined #angularjs
[02:42:18] *** encryptd_fractl has quit IRC
[02:43:29] *** spookyfork has quit IRC
[02:43:57] *** squeakytoy has joined #angularjs
[02:44:15] *** asdfqwerty has joined #angularjs
[02:44:26] *** foo-bar- has joined #angularjs
[02:46:27] *** idvb has quit IRC
[02:46:33] *** jbourassa has joined #angularjs
[02:47:19] *** bphogan is now known as bphogan_afk
[02:47:19] *** OdinIncarnate has joined #angularjs
[02:47:26] *** idvb has joined #angularjs
[02:47:32] *** joojis has joined #angularjs
[02:49:09] *** foo-bar- has quit IRC
[02:49:12] *** SpearThruster has quit IRC
[02:50:23] *** mattt_ has joined #angularjs
[02:51:08] *** jtimon has quit IRC
[02:52:07] *** bphogan_afk is now known as bphogan
[02:53:22] *** DrMabuse has joined #angularjs
[02:53:34] *** caitp has joined #angularjs
[02:55:01] *** idvb has quit IRC
[02:55:05] *** morenoh149 has joined #angularjs
[02:57:11] *** jonog has quit IRC
[02:57:48] *** jonog has joined #angularjs
[02:57:56] *** DrMabuse has quit IRC
[03:00:34] *** sdouglas has joined #angularjs
[03:01:41] *** gnrlbzik has joined #angularjs
[03:02:16] *** jonog has quit IRC
[03:04:35] *** VictorBjelkholm has quit IRC
[03:05:33] *** arek_deepinit has quit IRC
[03:06:25] *** ProLoser has joined #angularjs
[03:06:35] *** gnrlbzik has quit IRC
[03:06:51] *** sdouglas has quit IRC
[03:07:17] *** k-dawg has joined #angularjs
[03:09:31] *** jordandotdev has joined #angularjs
[03:09:59] *** kayloos has joined #angularjs
[03:10:56] *** darrin has joined #angularjs
[03:11:31] *** motionman has joined #angularjs
[03:11:31] *** motionman has joined #angularjs
[03:11:41] *** one_zero has joined #angularjs
[03:11:51] *** bayousoft has joined #angularjs
[03:12:26] *** Vinnyceptr_ has joined #angularjs
[03:12:58] *** Vinnyceptr_ has left #angularjs
[03:13:03] *** danielpquinn has joined #angularjs
[03:14:18] *** kayloos has quit IRC
[03:15:14] *** vintik has quit IRC
[03:15:26] *** tomzx`afk is now known as tomzx
[03:16:34] *** tokka has quit IRC
[03:17:25] *** danielpquinn has quit IRC
[03:17:39] *** foo-bar- has joined #angularjs
[03:17:47] *** VictorBjelkholm has joined #angularjs
[03:19:54] *** foo-bar- has quit IRC
[03:20:05] *** foo-bar- has joined #angularjs
[03:21:08] <TheAceOfHearts> I vote for browserify, it's neat
[03:21:43] <TheAceOfHearts> and testing is almost as easy as angular code, you can mock modules : https://github.com/thlorenz/proxyquireify
[03:22:13] *** AciD``` has quit IRC
[03:22:35] *** bphogan is now known as bphogan_afk
[03:23:20] *** [n0b0dy] has quit IRC
[03:23:28] *** darrin has quit IRC
[03:23:30] *** [n0b0dy] has joined #angularjs
[03:23:37] *** narutimateum has joined #angularjs
[03:24:09] <wafflejock> hmm anyone got an idea how I can get http://angular-ui.github.io/bootstrap/#/datepicker to check out the disabled-dates again after an async request?
[03:24:15] *** bayousoft has quit IRC
[03:24:58] *** conner_ has quit IRC
[03:25:47] *** InezK_away is now known as InezK
[03:27:22] *** michaelm has joined #angularjs
[03:27:36] *** slainer68 has quit IRC
[03:28:00] *** tfennelly has joined #angularjs
[03:29:08] *** foo-bar- has quit IRC
[03:29:48] *** bsmithga_ has quit IRC
[03:31:27] *** in_deep_thought has joined #angularjs
[03:32:40] *** anjumkaiser has quit IRC
[03:33:34] *** Ir1sh has joined #angularjs
[03:34:26] *** in_deep_thought has quit IRC
[03:34:39] *** tfennelly has quit IRC
[03:34:49] *** DrMabuse has joined #angularjs
[03:34:51] *** cphil has quit IRC
[03:35:01] *** in_deep_thought has joined #angularjs
[03:35:32] *** InezK is now known as InezK_away
[03:36:08] *** Shrooms has joined #angularjs
[03:38:01] *** Ir1sh has quit IRC
[03:38:07] *** knownasilya has joined #angularjs
[03:38:18] *** tarkus has quit IRC
[03:38:20] *** jonog has joined #angularjs
[03:39:04] *** DrMabuse has quit IRC
[03:39:57] *** quellhorst has quit IRC
[03:41:02] *** subnl2 has joined #angularjs
[03:41:05] *** mercwithamouth has joined #angularjs
[03:41:16] *** bicranial has joined #angularjs
[03:43:16] *** darrin has joined #angularjs
[03:44:02] *** Aerospark has quit IRC
[03:44:03] *** OdinIncarnate has quit IRC
[03:44:09] *** CodeFriar has quit IRC
[03:45:03] *** in_deep_thought has quit IRC
[03:46:34] *** shinnya has quit IRC
[03:48:13] *** homey has quit IRC
[03:48:24] *** bayousoft has joined #angularjs
[03:48:33] *** Jae has quit IRC
[03:48:55] *** jae has joined #angularjs
[03:57:36] *** bmac has joined #angularjs
[03:58:01] *** jae is now known as Jae
[03:58:06] *** mikehaas763 has quit IRC
[03:58:51] *** lw has joined #angularjs
[04:00:01] *** charuru has quit IRC
[04:00:30] *** ishi has quit IRC
[04:00:36] *** jbourassa has quit IRC
[04:01:21] *** SomeKittens has joined #angularjs
[04:02:23] *** gnrlbzik has joined #angularjs
[04:02:35] *** Aerospark has joined #angularjs
[04:03:45] *** jharbaugh has joined #angularjs
[04:03:56] *** bayousoft has quit IRC
[04:04:03] *** jamto11 has joined #angularjs
[04:04:06] *** vintik has joined #angularjs
[04:04:24] <jamto11> hey just wondering, where do you guys download music/mp3's nowadays?
[04:04:46] <davek> Google Play
[04:04:50] <zelrik> I dont download music
[04:04:50] *** tfennelly has joined #angularjs
[04:04:57] <zelrik> I buy CDs still
[04:05:05] <davek> WHAT IS CD?
[04:05:26] <zelrik> Compact Disc
[04:05:50] *** metasansana has joined #angularjs
[04:05:50] *** metasansana has joined #angularjs
[04:05:52] <zelrik> I like to own physical stuff
[04:06:08] <davek> Hey so is there anything inherently wrong with using background: url(*) for something like user avatars? I'm trying to think of any issues it would cause. The images will still be cached... people just can't save them which is fine (or at least not easily).
[04:06:08] <zelrik> besides mp3 services in Canada are shit
[04:06:34] *** gnrlbzik has quit IRC
[04:06:35] *** aFeijo has quit IRC
[04:06:56] <davek> zelrik, rhetorical.
[04:08:01] *** mehlah has quit IRC
[04:08:23] *** bmac has quit IRC
[04:08:49] *** S234567a has joined #angularjs
[04:09:48] *** darrin has quit IRC
[04:10:58] *** tfennelly has quit IRC
[04:12:01] <S234567a> Anyone used masonry with angular? Can't seem to get it to work correctly. The "bricks" are images in a view using ng-repeat retrieved from json using http.get in the controller. Images aren't tiling, they are remaining in a single column. Any ideas to a fix?
[04:12:44] *** H1FuelCell has joined #angularjs
[04:13:31] <robdubya> write a drective?
[04:13:39] *** homey has joined #angularjs
[04:13:49] *** danielpquinn has joined #angularjs
[04:14:12] *** lw has quit IRC
[04:14:41] <S234567a> tried writing a drectve... same issue
[04:15:33] *** tigrang has quit IRC
[04:15:34] <davek> Directive is definitely the way to go (or using an existing one like angular-masonry). Create two in fact, one for the container and one for each tile. Have the tile require the container thus getting access to the controller.
[04:15:51] <davek> Expose the masonry methods on the controller in the container directive.
[04:15:53] <davek> And you're done.
[04:17:10] *** lw has joined #angularjs
[04:17:11] *** TyrfingMjolnir has quit IRC
[04:17:34] <S234567a> I think I comprehend, I'll try it. Thanks davek
[04:17:45] *** lw has quit IRC
[04:17:56] *** danielpquinn has quit IRC
[04:17:58] *** rchavik has joined #angularjs
[04:18:25] *** lw has joined #angularjs
[04:18:58] *** cacts has quit IRC
[04:19:05] *** Hackwar1 has joined #angularjs
[04:19:22] *** lw has joined #angularjs
[04:19:39] *** bmac has joined #angularjs
[04:19:45] *** lw has quit IRC
[04:20:20] *** cigarshark has quit IRC
[04:20:22] *** lw has joined #angularjs
[04:20:34] *** homey has quit IRC
[04:20:36] *** mikehaas763 has joined #angularjs
[04:20:41] *** lw has quit IRC
[04:21:01] *** Hackwar has quit IRC
[04:21:22] *** lw has joined #angularjs
[04:21:56] *** S234567a has quit IRC
[04:22:09] *** tokka has joined #angularjs
[04:22:14] *** yoshokatana has joined #angularjs
[04:22:19] <wafflejock> there's already a masonry directive I think
[04:22:37] *** lw has joined #angularjs
[04:22:43] <wafflejock> nothing here work https://www.google.com/search?q=masonry+directive&oq=masonry+directive&aqs=chrome..69i57j0l2.2015j0j7&sourceid=chrome&es_sm=0&ie=UTF-8
[04:22:53] *** lw has quit IRC
[04:23:37] <wafflejock> figured out a workaround to delay the initialization and call refresh on the bootstrap controller when a promise that I pass in has resolved.... now gotta deal with selecting a new date if the current date falls in the range of disabled dates
[04:23:39] *** lw has joined #angularjs
[04:23:39] <davek> wafflejock, I said that. STOP COPYING ME.
[04:23:51] <wafflejock> oh haha
[04:24:01] *** lw has quit IRC
[04:24:01] <wafflejock> so some of that but didn't read it through
[04:24:42] *** lw has joined #angularjs
[04:26:32] *** InezK_away is now known as InezK
[04:26:57] *** bmac has quit IRC
[04:28:03] *** justinobney has quit IRC
[04:30:27] *** frkout_ has joined #angularjs
[04:30:34] *** VictorBjelkholm has quit IRC
[04:32:28] *** jamto11 has quit IRC
[04:33:32] *** crocket has joined #angularjs
[04:33:35] *** ProLoser has quit IRC
[04:33:36] <davek> So yeah, anything particularly bad about using background: url() for user avatars, etc and setting it programmatically?
[04:33:39] *** VictorBjelkholm has joined #angularjs
[04:33:48] <crocket> How can I get a module from injector outside angularjs?
[04:34:09] <crocket> angular.injector(['myModule']).get('module')?
[04:34:12] *** frkout has quit IRC
[04:34:19] *** Ir1sh has joined #angularjs
[04:34:55] *** lw has quit IRC
[04:35:27] *** joshontheweb has joined #angularjs
[04:35:33] *** DrMabuse has joined #angularjs
[04:36:11] *** josh-k has quit IRC
[04:36:12] *** jamto11 has joined #angularjs
[04:36:21] *** InezK is now known as InezK_away
[04:36:26] *** charuru has joined #angularjs
[04:36:53] *** endash has joined #angularjs
[04:37:24] *** mikehaas_ has joined #angularjs
[04:37:38] *** mikehaas763 has quit IRC
[04:38:25] *** edrocks has joined #angularjs
[04:38:34] *** Ir1sh has quit IRC
[04:39:04] *** cphil has joined #angularjs
[04:39:22] *** ProLoser has joined #angularjs
[04:39:56] *** DrMabuse has quit IRC
[04:40:34] *** tokka has quit IRC
[04:41:48] *** AlecTaylor has joined #angularjs
[04:41:49] <AlecTaylor> hi
[04:42:05] <AlecTaylor> Are there any advantages to using Services over Factories (or vice-versa)?
[04:44:52] *** sixr420 has quit IRC
[04:46:02] *** josh-k has joined #angularjs
[04:46:38] *** josh-k has joined #angularjs
[04:46:47] *** dcherman has joined #angularjs
[04:48:09] <davek> AlecTaylor, no they are for different purposes. Services are singletons, they expose an interface that is consistent everywhere and they encapsulate a single state. Factories create a new instance of their product every time they are injected.
[04:50:25] *** squeakytoy has quit IRC
[04:51:00] *** nuizzy has joined #angularjs
[04:51:02] <AlecTaylor> Ah, kk
[04:51:03] *** josh-k has quit IRC
[04:51:14] <robdubya> that's not strictly true really, and i reckon confuses the issue a bit
[04:51:38] *** Gooder``` has quit IRC
[04:52:01] <robdubya> just to be a bit contrary :D
[04:52:07] *** bobdobbs has left #angularjs
[04:52:15] *** ProLoser has quit IRC
[04:53:39] *** paperElectron has joined #angularjs
[04:53:39] *** paperElectron has joined #angularjs
[04:54:00] <crocket> var injector = angular.injector(['ebookReader', 'ng']); var htmlAnnotator = injector.get("htmlAnnotator");
[04:54:03] <crocket> The above snippet fails.
[04:54:04] <crocket> Why?
[04:54:45] <robdubya> AlecTaylor they both provide singletons in the end - a factory returns an object, whereas the service is instantiated w/ new
[04:54:52] *** TyrfingMjolnir has joined #angularjs
[04:55:21] *** hswolff has quit IRC
[04:55:37] *** fedenunez has joined #angularjs
[04:56:07] <robdubya> AlecTaylor http://tylermcginnis.com/angularjs-factory-vs-service-vs-provider/
[04:56:14] <AlecTaylor> robdubya: So something like the logged in user's profile would be a factory, and the service would be e.g.: products in a catalogue
[04:56:20] <AlecTaylor> ?
[04:56:31] <robdubya> http://plnkr.co/edit/muAukqRGxvBQqNsgQCYb?p=info
[04:56:44] <robdubya> foos and bars basically do the same thing there, its just a difference in how they are declared
[04:56:56] <robdubya> er Foos and Bars
[04:57:07] <robdubya> Barz is a factory that returns a promise
[04:57:20] <crocket> If I place 'ng' to the left of 'ebookReader', the error disappears.
[04:57:30] <crocket> weird
[04:57:34] <robdubya> *factory that returns an object, with a method that returns a promise
[04:58:57] *** justinobney has joined #angularjs
[05:00:24] <robdubya> make sense AlecTaylor?
[05:00:41] *** squeakytoy has joined #angularjs
[05:01:28] *** yoshokatana has joined #angularjs
[05:01:34] *** yoshokatana has quit IRC
[05:01:47] *** rchavik has quit IRC
[05:02:58] *** cphil has quit IRC
[05:03:14] *** gnrlbzik has joined #angularjs
[05:03:18] *** justinobney has quit IRC
[05:03:18] *** bobdobbs` has left #angularjs
[05:05:17] *** tylerlh has quit IRC
[05:05:23] *** dcherman has quit IRC
[05:05:34] *** ProLoser has joined #angularjs
[05:05:47] *** ziyadb has quit IRC
[05:05:51] *** tylerlh has joined #angularjs
[05:06:23] <crocket> angular.injector(['ng', 'ebookReader']).get("htmlAnnotator") fetches htmlAnnotator. While htmlAnnotator acts as if it were initialized on the web browsers, htmlAnnotator obtained via injector acts as if it weren't initialized.
[05:06:30] <crocket> robdubya, Do you know why?
[05:06:41] <crocket> It seems injector.get fetches an old version of services.
[05:07:00] <robdubya> are you trying to use it while an existing app is runing?
[05:07:33] *** gnrlbzik has quit IRC
[05:07:35] <crocket> robdubya, yes
[05:07:46] <crocket> robdubya, I need to access an angular service from outside.
[05:07:59] <crocket> I'm injecting a js snippet from selenium webdriver.
[05:08:08] <crocket> The snippet needs to execute htmlAnnotator.
[05:08:27] *** rchavik has joined #angularjs
[05:09:02] <wafflejock> davek: regarding the background images solution only problem is printing but chrome at least allows you to include background images
[05:09:23] *** bphogan_afk is now known as bphogan
[05:10:01] <robdubya> crocket var injector = angular.element(document).injector()
[05:10:07] <robdubya> i can't imagine why though
[05:10:12] *** bmac has joined #angularjs
[05:10:13] *** H1FuelCell has quit IRC
[05:10:48] <crocket> robdubya, duh
[05:10:53] *** kayloos has joined #angularjs
[05:11:15] <crocket> What about angular.injector(['ng', 'ebookReader']).invoke(function (htmlAnnotator) { }); ?
[05:11:32] <robdubya> wont gve you the same one
[05:11:52] <crocket> robdubya, I guess
[05:11:59] *** Val_ has quit IRC
[05:12:34] *** paperElectron has quit IRC
[05:13:08] *** paperElectron has joined #angularjs
[05:13:09] *** paperElectron has joined #angularjs
[05:13:26] *** sdouglas_ has joined #angularjs
[05:13:57] *** jamto11 has quit IRC
[05:14:36] *** danielpquinn has joined #angularjs
[05:14:45] *** paperElectron has quit IRC
[05:14:47] *** Fishy has quit IRC
[05:15:04] *** MistahKurtz has joined #angularjs
[05:15:14] *** tokka has joined #angularjs
[05:15:29] *** kayloos has quit IRC
[05:16:19] *** sixr420 has joined #angularjs
[05:16:34] <crocket> robdubya, Thanks for your advice. It's working now.
[05:16:34] *** slainer68 has joined #angularjs
[05:17:36] *** Asiajey has quit IRC
[05:17:38] *** vintik has quit IRC
[05:17:40] *** mattt_ has quit IRC
[05:17:49] <davek> wafflejock, printing like... paper?
[05:18:19] <wafflejock> davek: yeah dead trees
[05:18:30] <wafflejock> davek: or print to PDF I suppose
[05:18:37] *** vintik has joined #angularjs
[05:18:39] *** MTGap has quit IRC
[05:18:49] <robdubya> ooo ive heard about paper, its google's new polymer framework
[05:18:55] <wafflejock> haha
[05:19:04] *** danielpquinn has quit IRC
[05:19:04] <wafflejock> yeah that new thing paper
[05:19:08] *** bmac has quit IRC
[05:19:33] *** amargherio has quit IRC
[05:19:33] <robdubya> i have an app on my ipad called Paper. it has a Pencil too. is that what you mean?
[05:19:55] <wafflejock> if only we really lived in a paperless world
[05:20:11] <wafflejock> unfortunately advertisers and credit card companies apparently didn't get the memo
[05:20:49] <wafflejock> not to mention lawyers, doctors, and politicians
[05:22:58] *** vintik has quit IRC
[05:23:02] *** paperElectron has joined #angularjs
[05:23:10] <davek> What was the memo written on?
[05:23:40] *** Guest1536 has quit IRC
[05:24:26] *** bmac has joined #angularjs
[05:25:03] *** michaelm has quit IRC
[05:26:06] *** foo-bar- has joined #angularjs
[05:26:09] <wafflejock> email they'll check it eventually
[05:27:01] *** mercwithamouth has quit IRC
[05:27:30] *** InezK_away is now known as InezK
[05:28:40] *** jamto11 has joined #angularjs
[05:29:46] *** CodeFriar has joined #angularjs
[05:30:18] *** boneskull has quit IRC
[05:30:35] *** foo-bar- has quit IRC
[05:32:27] *** Sengoku has joined #angularjs
[05:32:33] *** mikehaas_ has quit IRC
[05:32:46] *** encryptd_fractl has joined #angularjs
[05:33:04] *** sneakertack has joined #angularjs
[05:34:05] *** sdouglas_ has quit IRC
[05:35:04] *** Ir1sh has joined #angularjs
[05:36:28] *** DrMabuse has joined #angularjs
[05:36:58] *** hugorodr_ has quit IRC
[05:37:04] *** InezK is now known as InezK_away
[05:38:09] *** xmmp has quit IRC
[05:39:18] *** Ir1sh has quit IRC
[05:40:33] *** DrMabuse has quit IRC
[05:42:28] *** CodeFriar has quit IRC
[05:42:47] *** LuxuryMode has quit IRC
[05:42:51] *** justinobney has joined #angularjs
[05:43:09] *** bphogan is now known as bphogan_afk
[05:45:59] *** steffengy has quit IRC
[05:45:59] *** steffengy1 has joined #angularjs
[05:46:57] *** ProLoser has quit IRC
[05:47:04] *** justinobney has quit IRC
[05:47:39] *** chrisbirk has joined #angularjs
[05:49:52] *** yoshokatana has joined #angularjs
[05:50:03] *** edrocks has quit IRC
[05:51:44] *** Fishy has joined #angularjs
[05:51:45] *** bmac has quit IRC
[05:52:12] *** boneskull has joined #angularjs
[05:52:50] *** lw has joined #angularjs
[05:53:00] *** Fishy has quit IRC
[05:53:36] *** Fishy has joined #angularjs
[05:54:44] *** Ethix has quit IRC
[05:55:07] *** xmmp has joined #angularjs
[05:55:10] *** Fishy has quit IRC
[05:55:22] *** Fishy has joined #angularjs
[05:55:33] *** encryptd_fractl has quit IRC
[05:56:52] *** tomzx is now known as tomzx`afk
[05:57:31] *** hugorodrigues has joined #angularjs
[05:59:38] *** Fishy has quit IRC
[05:59:44] *** Willow has quit IRC
[05:59:54] *** bmac has joined #angularjs
[06:00:07] *** drej has quit IRC
[06:00:10] *** Willow has joined #angularjs
[06:00:28] *** drej has joined #angularjs
[06:02:51] *** lw has quit IRC
[06:03:32] *** frkout_ has quit IRC
[06:03:48] *** lw has joined #angularjs
[06:04:01] *** gnrlbzik has joined #angularjs
[06:04:07] *** frkout has joined #angularjs
[06:04:44] *** Willow has quit IRC
[06:04:57] *** lw has quit IRC
[06:05:04] *** hugorodrigues has quit IRC
[06:05:52] *** lw has joined #angularjs
[06:06:41] *** paperElectron has quit IRC
[06:06:50] *** mindlace has joined #angularjs
[06:07:39] *** lw has joined #angularjs
[06:07:39] *** H1FuelCell has joined #angularjs
[06:08:09] *** mnewton has joined #angularjs
[06:08:19] *** lw has quit IRC
[06:08:20] *** gnrlbzik has quit IRC
[06:09:17] *** lw has joined #angularjs
[06:09:33] *** mercwithamouth has joined #angularjs
[06:10:01] *** encryptd_fractl has joined #angularjs
[06:11:04] *** mindlace has quit IRC
[06:11:57] *** encryptd_fractl has quit IRC
[06:12:05] *** hugorodrigues has joined #angularjs
[06:12:23] *** encryptd_fractl has joined #angularjs
[06:12:34] *** spencercarnage has joined #angularjs
[06:12:46] *** jonog has quit IRC
[06:12:52] *** squeakytoy2 has joined #angularjs
[06:13:17] *** jonog has joined #angularjs
[06:14:43] *** jbourassa has joined #angularjs
[06:14:56] *** encryptd_fractl has quit IRC
[06:15:03] *** squeakytoy has quit IRC
[06:15:20] *** danielpquinn has joined #angularjs
[06:15:45] <AlecTaylor> robdubya : back
[06:16:09] *** chrisbirk has quit IRC
[06:16:18] *** futuredale has quit IRC
[06:16:22] *** futureda_ has joined #angularjs
[06:16:41] *** futureda_ has quit IRC
[06:17:22] *** joshontheweb has quit IRC
[06:17:24] *** futuredale has joined #angularjs
[06:17:32] *** jonog has quit IRC
[06:18:22] *** vintik has joined #angularjs
[06:18:41] *** Yahkob has joined #angularjs
[06:19:34] *** mennea has joined #angularjs
[06:20:05] *** danielpquinn has quit IRC
[06:20:13] *** night-owl has quit IRC
[06:20:18] *** jtimon has joined #angularjs
[06:20:35] *** jasoncurran has quit IRC
[06:22:05] *** beckyconning__ has quit IRC
[06:22:19] *** lw has quit IRC
[06:23:13] *** InezK_away is now known as InezK
[06:23:23] *** in_deep_thought has joined #angularjs
[06:23:47] *** quantax- has quit IRC
[06:25:16] *** gauravsaini03 has joined #angularjs
[06:25:48] *** Archit has joined #angularjs
[06:26:36] *** tfennelly has joined #angularjs
[06:29:22] *** sdouglas_ has joined #angularjs
[06:30:25] *** josh-k has joined #angularjs
[06:31:42] *** jamto11 has quit IRC
[06:32:23] *** in_deep_thought has quit IRC
[06:32:43] *** InezK is now known as InezK_away
[06:33:30] *** roymilder has joined #angularjs
[06:34:53] *** L8TR has joined #angularjs
[06:35:23] *** mercwithamouth has quit IRC
[06:35:24] *** Limix has quit IRC
[06:35:53] *** Ir1sh has joined #angularjs
[06:36:41] *** spencercarnage has quit IRC
[06:36:44] *** tfennelly has quit IRC
[06:37:01] *** idvb has joined #angularjs
[06:37:05] *** DrMabuse has joined #angularjs
[06:39:21] *** nerdfiles has quit IRC
[06:40:03] *** Ir1sh has quit IRC
[06:40:49] *** crocket has left #angularjs
[06:41:29] *** idvb has quit IRC
[06:41:32] *** DrMabuse has quit IRC
[06:42:36] *** bmac has quit IRC
[06:43:32] *** justinobney has joined #angularjs
[06:44:24] *** jtimon has quit IRC
[06:44:56] *** hugorodrigues has quit IRC
[06:45:01] *** waylon999 has joined #angularjs
[06:47:16] *** paperElectron has joined #angularjs
[06:47:56] *** justinobney has quit IRC
[06:48:50] <Archit> how can we make subfilter in Angular , Any idea.
[06:49:07] *** ninsei_x has joined #angularjs
[06:49:22] *** ninsei_y has joined #angularjs
[06:49:37] *** ninsei_s has joined #angularjs
[06:49:51] *** ninsei_g has joined #angularjs
[06:50:07] *** ninsei_p has joined #angularjs
[06:50:22] *** ninsei_g has joined #angularjs
[06:50:29] *** encryptd_fractl has joined #angularjs
[06:50:53] *** arrty has quit IRC
[06:51:16] *** ninsei has quit IRC
[06:51:39] *** holymac has quit IRC
[06:51:42] *** nerdfiles has joined #angularjs
[06:52:34] *** holymac has joined #angularjs
[06:53:35] *** OffTheRails has joined #angularjs
[06:53:43] *** Fishy has joined #angularjs
[06:54:07] *** nemothekid has quit IRC
[06:54:29] *** gnrlbzik has joined #angularjs
[06:54:33] *** encryptd_fractl has quit IRC
[06:54:54] *** squeakytoy has joined #angularjs
[06:55:02] *** silcox has quit IRC
[06:55:33] *** jordandotdev has quit IRC
[06:55:56] *** squeakytoy2 has quit IRC
[06:56:31] *** night-owl has joined #angularjs
[06:56:32] *** nerdfiles has quit IRC
[06:57:59] *** nusser has joined #angularjs
[06:58:24] *** Fishy has quit IRC
[06:58:44] *** gnrlbzik has quit IRC
[06:59:22] *** pdillinger1 has joined #angularjs
[07:00:22] *** waylon999 has quit IRC
[07:02:19] *** Aerospark has quit IRC
[07:03:12] *** webus has joined #angularjs
[07:07:33] *** ProLoser has joined #angularjs
[07:08:18] *** josh-k has quit IRC
[07:09:48] *** davemerwin has joined #angularjs
[07:10:40] *** S234567a has joined #angularjs
[07:10:58] *** fedenunez has quit IRC
[07:11:03] *** Aerospark has joined #angularjs
[07:11:06] *** Mouzi has joined #angularjs
[07:11:23] *** nerdfiles has joined #angularjs
[07:11:48] *** kayloos has joined #angularjs
[07:12:31] *** MistahKurtz has quit IRC
[07:13:16] *** w1ther has joined #angularjs
[07:13:21] *** mary5030 has joined #angularjs
[07:13:28] *** stickperson has joined #angularjs
[07:14:51] *** [n0b0dy] has quit IRC
[07:15:01] *** [n0b0dy] has joined #angularjs
[07:15:26] *** TheAceOfHearts has quit IRC
[07:16:06] *** danielpquinn has joined #angularjs
[07:16:13] *** kayloos has quit IRC
[07:16:18] *** ratra has joined #angularjs
[07:17:14] <ratra> Hello to all. Is there a way to provide module-private service in Angular ?
[07:17:41] *** nemothekid has joined #angularjs
[07:17:49] <sacho> uh, why?
[07:17:52] *** hugorodrigues has joined #angularjs
[07:18:25] *** lewdev has quit IRC
[07:18:36] *** hugorodrigues has quit IRC
[07:19:17] *** subnl2 has quit IRC
[07:19:46] *** S234567a has quit IRC
[07:19:55] <ratra> I'm just courious.
[07:20:12] *** Aerospark has quit IRC
[07:20:43] *** danielpquinn has quit IRC
[07:21:32] *** Sengoku has quit IRC
[07:22:10] *** phuh has joined #angularjs
[07:23:02] *** thepeculiarform has joined #angularjs
[07:23:23] <tylerlh> not that i know of.. pretty sure all services are exposed to all modules
[07:23:43] <paperElectron> ClearAllChannelBuffers
[07:23:59] <paperElectron> derp
[07:24:43] <ratra> I reading Mastering Web Application Development with AngularJS
[07:24:51] *** vintik has quit IRC
[07:25:27] *** new2angularjs has joined #angularjs
[07:25:38] <ratra> <tylerlh> Thanks
[07:26:27] <new2angularjs> When module & controller moved to external file, controller doesn't works whereas if in index.html file it works :-(
[07:27:48] *** lite_ has joined #angularjs
[07:29:54] *** jbourassa has quit IRC
[07:29:57] *** waylon999 has joined #angularjs
[07:30:13] *** wilmoore has quit IRC
[07:30:39] *** waylon999 has quit IRC
[07:30:57] *** sdouglas_ has quit IRC
[07:31:32] *** sdouglas has joined #angularjs
[07:32:30] *** jonog has joined #angularjs
[07:33:00] <tylerlh> Can you share a gist or plunkr?
[07:34:40] *** InezK_away is now known as InezK
[07:35:26] *** paul_dijou has quit IRC
[07:35:49] *** sdouglas has quit IRC
[07:35:59] *** [HACKING-TWITTER has quit IRC
[07:36:06] <davek> ratra, services by default are only available to the module they are defined in.
[07:36:37] *** H1FuelCell has quit IRC
[07:36:41] *** Ir1sh has joined #angularjs
[07:37:08] *** JosephSilber has quit IRC
[07:37:41] *** phuh has quit IRC
[07:37:49] *** DrMabuse has joined #angularjs
[07:38:07] <ratra> <davek> you are wrong. Services are available trhough entire application.
[07:38:16] *** sacho_ has joined #angularjs
[07:38:43] <Cixis> i don't think that's accurate
[07:38:53] *** [HACKING-TWITTER has joined #angularjs
[07:38:53] <Cixis> i need to register your services to a module, correct?
[07:39:10] *** [HACKING-TWITTER has quit IRC
[07:39:20] <Cixis> so if you do angular.module('app', []).service('myService', function(){})
[07:39:25] <Cixis> myService is only available to that module
[07:39:37] *** OffTheRails has quit IRC
[07:39:41] <davek> ratra, sorry you feel that way. I do happen to have quite a bit of experience with this.
[07:39:58] <ratra> If I define two modules I can asses services from first module in the second one WITHOUT registering in the second
[07:40:13] *** VictorBjelkholm has quit IRC
[07:40:28] <Cixis> how?
[07:40:29] <ratra> <Cixis> No
[07:40:44] <sacho_> ratra, you can't.
[07:41:06] <ratra> var app = angular.module('app', ['engines', 'cars']); var cars = angular.module('cars', []); cars.factory('car', function ($log, dieselEngine) { return { start: function () { $log.info('Starting ' + dieselEngine.type); } }; }); var engines = angular.module('engines', []); engines.factory('dieselEngine', function () { return { type:
[07:41:08] *** Ir1sh has quit IRC
[07:41:08] *** sacho has quit IRC
[07:41:31] <sacho_> uh, you're asking for the 'cars' module as a dependancy, right there.
[07:41:36] *** [HACKING-TWITTER has joined #angularjs
[07:41:39] <davek> ratra, use a pastebin for multiple lines.
[07:41:55] <ratra> pastebin var app = angular.module('app', ['engines', 'cars']); var cars = angular.module('cars', []); cars.factory('car', function ($log, dieselEngine) { return { start: function () { $log.info('Starting ' + dieselEngine.type); } }; }); var engines = angular.module('engines', []); engines.factory('dieselEngine', function () { return {
[07:41:55] *** [HACKING-TWITTER has quit IRC
[07:41:58] <Cixis> ...
[07:42:07] <ratra> pastebin
[07:42:13] *** DrMabuse has quit IRC
[07:42:25] <davek> This has to be the weakest troll.
[07:42:26] <Cixis> it's a website dude
[07:42:45] *** hugorodrigues has joined #angularjs
[07:44:17] <ratra> Ok
[07:44:26] *** justinobney has joined #angularjs
[07:46:21] *** [HACKING-TWITTER has joined #angularjs
[07:47:13] *** sdouglas has joined #angularjs
[07:47:26] *** SpearThruster has joined #angularjs
[07:48:27] *** joshontheweb has joined #angularjs
[07:48:44] *** justinobney has quit IRC
[07:49:27] *** hugorodrigues has quit IRC
[07:49:29] *** ratra has quit IRC
[07:50:30] *** squeakytoy has quit IRC
[07:53:26] *** mogaj has joined #angularjs
[07:53:27] *** VictorBjelkholm has joined #angularjs
[07:53:48] *** Fishy has joined #angularjs
[07:54:18] *** AlecTaylor has quit IRC
[07:54:51] *** [n0b0dy] has quit IRC
[07:55:01] *** [n0b0dy] has joined #angularjs
[07:55:17] *** gnrlbzik has joined #angularjs
[07:55:24] *** sigurding has joined #angularjs
[07:56:12] *** homey has joined #angularjs
[07:56:41] *** JosephSilber has joined #angularjs
[07:57:31] *** fold has quit IRC
[07:57:56] *** bkuberek has quit IRC
[07:58:03] *** dmg91 has left #angularjs
[07:58:07] *** Fishy has quit IRC
[07:59:25] *** gnrlbzik has quit IRC
[08:02:00] *** Dev_ has joined #angularjs
[08:02:08] *** Alina-emergency has joined #angularjs
[08:02:37] *** Dev_ has quit IRC
[08:02:38] *** VictorBjelkholm has quit IRC
[08:06:23] *** T0lkman has joined #angularjs
[08:08:09] *** waylon999 has joined #angularjs
[08:10:29] *** Aerospark has joined #angularjs
[08:10:43] *** asdofindia has quit IRC
[08:10:51] *** DuelShark has joined #angularjs
[08:11:53] *** Serdar has joined #angularjs
[08:13:03] *** meinside has joined #angularjs
[08:13:32] *** lewdev has joined #angularjs
[08:13:41] *** mennea has quit IRC
[08:14:04] *** new2angularjs has quit IRC
[08:15:22] *** stickperson has quit IRC
[08:15:54] *** TheAceOfHearts has joined #angularjs
[08:16:15] *** Gambit- has quit IRC
[08:16:33] *** VictorBjelkholm has joined #angularjs
[08:16:49] *** mdedetrich has joined #angularjs
[08:16:52] *** danielpquinn has joined #angularjs
[08:17:32] <lite_> i dont think ive ever been this tired at work.
[08:17:36] <lite_> freaking world cup
[08:18:07] *** johnkevinmbasco has joined #angularjs
[08:18:15] *** Sengoku has joined #angularjs
[08:19:12] *** jerev_away is now known as jerev
[08:20:14] *** GeertV_ has joined #angularjs
[08:21:01] *** danielpquinn has quit IRC
[08:21:12] *** Milanito has joined #angularjs
[08:21:41] *** mary5030 has quit IRC
[08:22:04] *** asdofindia has joined #angularjs
[08:22:10] *** iksik_ has joined #angularjs
[08:22:52] *** Sengoku has quit IRC
[08:23:10] *** asdofindia has quit IRC
[08:23:29] <TheAceOfHearts> robdubya: I'm ripping out my app's architecture; once I have it setup I'm probably gonna try reimplementing a model layer
[08:23:32] *** asdofindia has joined #angularjs
[08:23:32] *** CodeFriar has joined #angularjs
[08:25:17] *** ProLoser has quit IRC
[08:25:38] *** iksik has quit IRC
[08:26:18] *** DuelShark has quit IRC
[08:27:06] *** klaut has joined #angularjs
[08:28:13] *** CodeFriar has quit IRC
[08:28:27] *** stodan has joined #angularjs
[08:28:49] *** bkuberek has joined #angularjs
[08:28:55] *** zwacky has joined #angularjs
[08:32:50] *** illume has joined #angularjs
[08:33:08] *** bkuberek has quit IRC
[08:33:24] *** Johnee has joined #angularjs
[08:33:47] *** ustunozgur has joined #angularjs
[08:34:07] *** svycka has joined #angularjs
[08:34:21] *** mad123 has joined #angularjs
[08:34:42] *** Johnee has quit IRC
[08:35:08] *** [n0b0dy] has quit IRC
[08:35:20] *** [n0b0dy] has joined #angularjs
[08:36:35] *** jacuqesdancona__ has joined #angularjs
[08:37:27] *** Ir1sh has joined #angularjs
[08:38:34] *** sdouglas has quit IRC
[08:38:36] *** Sky[x] has joined #angularjs
[08:38:38] *** DrMabuse has joined #angularjs
[08:39:29] *** SpearThruster has quit IRC
[08:40:18] *** pdillinger1 has quit IRC
[08:40:34] *** AndyFTP has joined #angularjs
[08:41:08] *** vintik has joined #angularjs
[08:41:15] *** johnkevinmbasco has quit IRC
[08:41:37] *** Khruu has quit IRC
[08:41:37] *** Khruu has joined #angularjs
[08:41:38] *** Ir1sh has quit IRC
[08:42:03] *** waylon999 has quit IRC
[08:42:08] *** anderskristo has joined #angularjs
[08:42:58] *** DrMabuse has quit IRC
[08:43:11] *** DrMabuse has joined #angularjs
[08:44:01] <eighty4> If I wanted to use an angulare template for a lightbox what would be the best solution? $(...).colorbox(html:...something?...)? Would that be doable?
[08:44:22] *** Sky[x] has quit IRC
[08:44:33] *** Limarson has joined #angularjs
[08:44:50] *** Khruu has quit IRC
[08:45:09] *** justinobney has joined #angularjs
[08:45:29] *** HypnotiX has joined #angularjs
[08:46:51] *** justinob_ has joined #angularjs
[08:46:56] *** DrMabuse_ has joined #angularjs
[08:47:08] *** mnewton has quit IRC
[08:47:38] *** DrMabuse has quit IRC
[08:47:57] *** tigrang has joined #angularjs
[08:48:37] *** vintik has joined #angularjs
[08:49:28] *** happyface has quit IRC
[08:49:48] *** mchammer has joined #angularjs
[08:49:56] *** justinobney has quit IRC
[08:50:29] *** Khruu has joined #angularjs
[08:50:45] *** Alina-emergency has quit IRC
[08:50:47] *** vintik has quit IRC
[08:51:01] *** DrMabuse_ has quit IRC
[08:51:08] *** justinob_ has quit IRC
[08:51:22] *** happyface has joined #angularjs
[08:52:28] <TheAceOfHearts> eighty4: there's native angular solutions...
[08:53:02] <TheAceOfHearts> http://likeastore.github.io/ngDialog/ eighty4
[08:53:44] *** kkthxbye has joined #angularjs
[08:54:21] *** blackkbot is now known as Guest84412
[08:54:59] *** tarnus has quit IRC
[08:55:32] *** tarnus has joined #angularjs
[08:55:44] *** hannesvdvreken has joined #angularjs
[08:55:47] *** partikus has joined #angularjs
[08:56:10] *** plantain_ is now known as plantain
[08:56:15] *** mykz_ has joined #angularjs
[08:56:58] *** Rebirth has quit IRC
[08:57:38] *** kkthxbye has quit IRC
[08:57:54] *** kkthxbye has joined #angularjs
[08:59:33] *** L0u1s has joined #angularjs
[08:59:48] <eighty4> TheAceOfHearts: but that's not "native" it's just another lightbox implementation, no?
[08:59:54] <eighty4> that being said It does seem nice
[08:59:59] *** tarnus has quit IRC
[09:00:04] <TheAceOfHearts> native angular
[09:00:11] <TheAceOfHearts> as in, written using angularjs instead of jquery
[09:00:34] <eighty4> ah, yes. Very true
[09:00:42] *** bphogan_afk is now known as bphogan
[09:00:54] *** raibutera has quit IRC
[09:00:57] <eighty4> I'll have a look at their source as well to see how they solve the template part
[09:01:30] *** JoshGlzBrk has joined #angularjs
[09:01:45] <eighty4> thanks for the help :)
[09:01:51] *** _jpfm has joined #angularjs
[09:01:58] <TheAceOfHearts> there's ui-bootstrap, which has modals
[09:02:01] <TheAceOfHearts> it's very similar to a lighbox
[09:02:04] *** Khruu has quit IRC
[09:02:15] *** bphogan is now known as bphogan_afk
[09:02:25] <ansu> TheAceOfHearts, do you know the difference between these two?
[09:02:26] *** kkthxbye has quit IRC
[09:02:42] *** kkthxbye has joined #angularjs
[09:02:45] <TheAceOfHearts> between what?
[09:02:57] <ansu> ngDialog and modals from ui-bootstrap
[09:03:11] *** drej has quit IRC
[09:03:19] <TheAceOfHearts> no, I don't
[09:03:30] <ansu> i'm using ui-bootstrap right now, but only for the modals
[09:03:51] *** Khruu has joined #angularjs
[09:03:58] *** cctom_ has joined #angularjs
[09:04:13] *** VeeWee has joined #angularjs
[09:04:19] <zbzzn> There is also angularstrap
[09:04:26] <zbzzn> with modals
[09:04:49] *** Khruu has quit IRC
[09:05:26] *** Somatt has quit IRC
[09:06:21] <eighty4> TheAceOfHearts: yeah, I found ui-boostrap, seemed nice but also a big big. You could just pick whatever parts you wanted tho
[09:06:28] *** firefly_ has joined #angularjs
[09:06:50] *** dutis has joined #angularjs
[09:06:50] *** thepeculiarform has quit IRC
[09:07:07] *** kkthxbye has quit IRC
[09:07:23] *** arek_deepinit has joined #angularjs
[09:07:23] <firefly_> guys is there a way to order directives running order lets say i want an attribute directive to run after ng-repeat has done its job
[09:07:24] *** kkthxbye has joined #angularjs
[09:07:43] <TheAceOfHearts> priority?
[09:07:58] *** cctom_ has quit IRC
[09:08:07] <firefly_> TheAceOfHearts: you could call it priority i guess
[09:08:18] *** partikus has quit IRC
[09:08:23] <ansu> at first glance ngDialog looks nice. i guess i'm going to try it out :)
[09:08:36] <TheAceOfHearts> firefly_: yes. it's called priority. you can set priority level on directives.
[09:09:02] <firefly_> TheAceOfHearts: oO thanks so much
[09:10:06] *** Khruu has joined #angularjs
[09:10:09] *** arek_deepinit has quit IRC
[09:11:00] *** mennea has joined #angularjs
[09:11:20] <TheAceOfHearts> y'know, after so long, I finally feel like directives aren't that complicated
[09:11:22] *** lukebrowell has joined #angularjs
[09:11:29] <TheAceOfHearts> like, I feel like I actually understand the life-cycle
[09:11:38] *** kkthxbye has quit IRC
[09:12:37] *** kayloos has joined #angularjs
[09:12:46] <firefly_> TheAceOfHearts: i wish i can understand them like you do
[09:13:01] *** waylon999 has joined #angularjs
[09:13:18] *** nerdfiles has quit IRC
[09:13:45] *** TheAceOfHearts has left #angularjs
[09:13:46] *** TheAceOfHearts has joined #angularjs
[09:14:35] *** Sky[x] has joined #angularjs
[09:15:14] <firefly_> TheAceOfHearts: btw is there a cascade order like parents element's directives run first then childs?
[09:15:33] <TheAceOfHearts> I dunno
[09:15:41] <TheAceOfHearts> I've never had to worry about directive order
[09:15:51] *** wilmoore has joined #angularjs
[09:16:06] <ansu> hehe that's why I recently bought Mastering Angular Directives from packtp :)
[09:16:22] *** pdillinger1 has joined #angularjs
[09:16:31] <firefly_> TheAceOfHearts: cos i have ng-repeat in option elements of select and my attribute directive in parent select
[09:16:47] *** instence has joined #angularjs
[09:17:03] <firefly_> TheAceOfHearts: setting priority didnt help so i gotta try something different
[09:17:14] <TheAceOfHearts> aren't you not supposed to use ng-repeat for options..?
[09:17:27] *** kayloos has quit IRC
[09:17:30] <TheAceOfHearts> https://docs.angularjs.org/api/ng/directive/select there's ngOptions
[09:17:38] *** danielpquinn has joined #angularjs
[09:17:59] *** waylon999 has quit IRC
[09:18:22] <firefly_> TheAceOfHearts: oh that should do i guess thanks again
[09:18:37] *** Xethron has joined #angularjs
[09:18:54] *** SpearThruster has joined #angularjs
[09:19:32] *** illume has quit IRC
[09:19:33] *** rmann has joined #angularjs
[09:20:15] *** rmann has left #angularjs
[09:20:58] *** AlecTaylor has joined #angularjs
[09:21:01] *** sk87 has joined #angularjs
[09:21:10] *** Somatt has joined #angularjs
[09:22:13] *** danielpquinn has quit IRC
[09:22:55] *** mtsr has joined #angularjs
[09:24:21] *** Left_Turn has joined #angularjs
[09:24:52] *** waylon999 has joined #angularjs
[09:27:05] *** Oxelist has joined #angularjs
[09:27:21] *** strfcks has joined #angularjs
[09:27:37] *** foo-bar- has joined #angularjs
[09:28:39] *** Serdar has quit IRC
[09:29:01] *** bkuberek has joined #angularjs
[09:30:08] *** nuizzy has quit IRC
[09:30:29] *** thepeculiarform has joined #angularjs
[09:30:49] *** fwielstra has joined #angularjs
[09:31:56] *** foo-bar- has quit IRC
[09:32:15] *** mary5030 has joined #angularjs
[09:32:18] *** ppppaul has joined #angularjs
[09:33:03] *** dutis has quit IRC
[09:33:08] *** bkuberek has quit IRC
[09:34:26] *** bengillies has joined #angularjs
[09:36:34] *** mary5030 has quit IRC
[09:37:13] *** KimP_ is now known as KimP
[09:38:13] *** Ir1sh has joined #angularjs
[09:38:36] *** kalusn has joined #angularjs
[09:39:53] *** sacho_ has quit IRC
[09:39:59] *** tokka_ has joined #angularjs
[09:40:08] *** _tpavel has joined #angularjs
[09:40:19] *** JesseEichar_ has joined #angularjs
[09:40:37] *** bicranial has quit IRC
[09:40:47] *** tokka has quit IRC
[09:41:43] *** squeakytoy has joined #angularjs
[09:42:09] *** Sunil_ has joined #angularjs
[09:42:33] *** Ir1sh has quit IRC
[09:42:49] <Sunil_> @all How can i execute a script tag on all page in single page application using angularJS
[09:43:21] <TheAceOfHearts> what do you mean? you can just add an arbitrary script tag if you so chose to
[09:43:42] *** jonog has quit IRC
[09:44:08] <Sunil_> In single page application i have included it in main.html but it doesn't fire on view chagne
[09:44:10] *** jonog has joined #angularjs
[09:44:28] <TheAceOfHearts> well, of course it's not firing on view change, if it's in main.html
[09:44:38] *** mercwithamouth has joined #angularjs
[09:44:55] <TheAceOfHearts> I'm guessing this is related to Google analytics or some similar tool, is it not?
[09:45:03] *** vader has joined #angularjs
[09:45:16] <Sunil_> yes correct its related to analytics and ADS load
[09:45:42] <TheAceOfHearts> so, most analytics tools have APIs you can call
[09:46:08] <Sunil_> but where should i write teh api call is there any event for it?
[09:46:23] <Sunil_> like view change event
[09:46:26] <TheAceOfHearts> yeah
[09:46:32] <TheAceOfHearts> actually
[09:46:33] <TheAceOfHearts> hold on
[09:46:37] <TheAceOfHearts> I have an event better solution
[09:46:59] <TheAceOfHearts> https://github.com/cesarandreu/angular-multi-analytics use my library \o/
[09:47:01] <TheAceOfHearts> ah
[09:47:05] <TheAceOfHearts> I forgot I hadn't written docs for it D:
[09:47:14] <TheAceOfHearts> well, you can just look at the Google Analytics plugin
[09:47:16] <TheAceOfHearts> it's pretty small
[09:47:42] <Sunil_> well we are already using omniture analytics for it as told by my client
[09:47:46] *** justinobney has joined #angularjs
[09:48:01] <TheAceOfHearts> you can write arbitrary plugins
[09:48:05] <TheAceOfHearts> for whatever you need
[09:48:18] <Sunil_> ok
[09:48:22] <TheAceOfHearts> anyway
[09:48:25] <TheAceOfHearts> yeah, there's an event
[09:48:37] *** jonog has quit IRC
[09:48:57] <TheAceOfHearts> https://github.com/cesarandreu/angular-multi-analytics/blob/master/src/angular-multi-analytics.js#L101 look
[09:49:03] <TheAceOfHearts> at lines 105 and 116
[09:49:03] *** mercwithamouth has quit IRC
[09:49:34] *** milka has joined #angularjs
[09:50:58] *** SpearThruster has quit IRC
[09:51:25] *** bengillies has quit IRC
[09:51:42] *** vintik has joined #angularjs
[09:52:09] *** hubertus_ has joined #angularjs
[09:52:35] *** justinobney has quit IRC
[09:53:13] *** encryptd_fractl has joined #angularjs
[09:53:46] *** Fishy has joined #angularjs
[09:54:00] <Sunil_> @TheAceOfHearts Looks good to me to resolve my issue
[09:54:10] <TheAceOfHearts> good :P
[09:54:20] <TheAceOfHearts> I might write docs for it at some point
[09:54:23] <TheAceOfHearts> was just too lazy, tbh
[09:54:26] <TheAceOfHearts> it's really simple though
[09:54:28] <TheAceOfHearts> and it has tests \o/
[09:54:35] <Sunil_> one more thing i am facing while page load i need to render ADS on page.
[09:54:44] *** ppppaul has quit IRC
[09:54:46] <TheAceOfHearts> when you say ADS
[09:54:49] <TheAceOfHearts> do you mean advertisements ?
[09:54:51] *** nemothekid has quit IRC
[09:54:57] <Sunil_> correct
[09:55:02] *** nusser has quit IRC
[09:55:14] <TheAceOfHearts> I don't have any experience with that
[09:55:34] <TheAceOfHearts> but I'd just put the code that needs to get refreshed inside of an iframe or a directive with an ng-if
[09:55:44] <TheAceOfHearts> so the DOM elements will refresh on each page load
[09:55:48] <TheAceOfHearts> erm
[09:55:49] *** vintik has quit IRC
[09:55:49] <TheAceOfHearts> view transitions*
[09:55:59] *** ineedarobot has joined #angularjs
[09:56:00] *** L0u1s is now known as L0u0s
[09:56:27] <Sunil_> I have issue that there are 2 container where ads need to be loaded and these container are created using template/directive. Now issue is that script which loads ADS fires before the container gets even rendered
[09:56:49] *** gnrlbzik has joined #angularjs
[09:56:59] <TheAceOfHearts> well
[09:57:11] *** nemothekid has joined #angularjs
[09:57:12] <TheAceOfHearts> why not put the ad code inside of the container template?
[09:57:38] *** vader has quit IRC
[09:57:39] <Sunil_> well i have 2 container on the page
[09:57:58] *** raines has joined #angularjs
[09:58:00] <Sunil_> both renders from same template
[09:58:11] *** encryptd_fractl has quit IRC
[09:58:15] *** sneakertack has quit IRC
[09:58:30] <TheAceOfHearts> I think you're complicating yourself too much
[09:58:31] <TheAceOfHearts> but fine
[09:58:32] *** Fishy has quit IRC
[09:58:32] <Sunil_> like one is top ads and bottom ads containter
[09:58:37] *** Oxelist has quit IRC
[09:58:51] <TheAceOfHearts> just make a service which will get called when each container gets rendered
[09:59:01] <TheAceOfHearts> aand then when it's been called twice have it render the ad snippet or something?
[09:59:31] <Sunil_> i just need to call it once when both are loaded
[10:00:08] <Sunil_> is there a simpler way of doing it?
[10:00:26] <TheAceOfHearts> you make a service
[10:00:34] <TheAceOfHearts> that has to be called when each container is loaded
[10:00:35] *** waylon999 has quit IRC
[10:00:38] <TheAceOfHearts> and when it's been called twice
[10:00:41] <TheAceOfHearts> you render the snippet.
[10:01:10] *** frkout_ has joined #angularjs
[10:01:27] *** vintik has joined #angularjs
[10:01:38] <Sunil_> ok great i understood
[10:01:42] <Sunil_> thanks so much
[10:01:42] *** jonog has joined #angularjs
[10:01:48] *** gnrlbzik has quit IRC
[10:02:01] <TheAceOfHearts> sure, np
[10:03:38] *** juampy has joined #angularjs
[10:04:36] *** frkout has quit IRC
[10:06:17] *** Serdar has joined #angularjs
[10:07:05] *** ineedarobot has quit IRC
[10:07:32] *** Shrooms has quit IRC
[10:08:02] *** ppppaul has joined #angularjs
[10:08:20] *** tfennelly has joined #angularjs
[10:08:20] *** juampy has quit IRC
[10:08:33] *** illume has joined #angularjs
[10:08:59] *** tigrang has quit IRC
[10:09:17] *** L0u0s is now known as L0u1s
[10:09:20] *** juampy has joined #angularjs
[10:10:33] *** vader has joined #angularjs
[10:10:55] *** T0lkman has quit IRC
[10:11:06] *** the_fog has joined #angularjs
[10:11:25] *** Tyler has joined #angularjs
[10:11:37] *** SonderbladeWork has joined #angularjs
[10:11:40] <Tyler> Hello everyone
[10:11:41] *** Moon has joined #angularjs
[10:11:49] *** Tyler is now known as Guest64756
[10:11:56] *** SonderbladeWork has quit IRC
[10:12:03] <Guest64756> Hey
[10:12:05] *** Moon is now known as Guest3323
[10:12:28] *** Archit has quit IRC
[10:12:59] *** tfennelly has quit IRC
[10:13:56] *** caitp has quit IRC
[10:15:04] <firefly_> TheAceOfHearts: hey man is there a way to trigger a function when ng-repeat or ngoptions done their job?
[10:15:25] *** roymilder has quit IRC
[10:15:36] <TheAceOfHearts> I don't think so
[10:15:40] <TheAceOfHearts> why would you need to do that?
[10:16:01] *** Jae has quit IRC
[10:16:04] *** Guest64756 has quit IRC
[10:17:32] *** storresi has joined #angularjs
[10:17:47] *** roymilder has joined #angularjs
[10:18:27] *** danielpquinn has joined #angularjs
[10:18:30] *** L0u1s is now known as L0u0s
[10:18:36] *** hubertus_ has quit IRC
[10:18:43] <firefly_> TheAceOfHearts: i need to initialize a multiselect plugin after select has been rendered
[10:19:13] *** [HACKING-TWITTER has quit IRC
[10:19:13] *** idiomatic has quit IRC
[10:19:15] <TheAceOfHearts> you'll probably have a hard time getting it to work with angular, then
[10:19:28] <TheAceOfHearts> you should consider a different approach
[10:20:00] <TheAceOfHearts> well
[10:20:02] <firefly_> TheAceOfHearts: you are right this will be problematic even after i initialize it
[10:20:27] *** bengillies has joined #angularjs
[10:20:28] <TheAceOfHearts> people starting off with angular
[10:20:35] <TheAceOfHearts> tend to keep thinking of how they'd do stuff with jquery
[10:20:36] *** lite_ has quit IRC
[10:20:46] <TheAceOfHearts> you need to change the way you think about certain problems
[10:20:58] <TheAceOfHearts> heck, or maybe even rewrite the plugin in angular code
[10:21:08] <TheAceOfHearts> a lot of times it ends up being even simpler
[10:21:18] *** Alina-emergency has joined #angularjs
[10:21:27] <firefly_> TheAceOfHearts: i did write a simple datatable for my tables and i was simpler :)
[10:21:52] *** nemothekid has quit IRC
[10:22:10] *** foofoobar has joined #angularjs
[10:23:16] *** danielpquinn has quit IRC
[10:23:24] *** Alina-emergency has quit IRC
[10:23:48] *** [HACKING-TWITTER has joined #angularjs
[10:23:55] *** lordkryss has joined #angularjs
[10:24:02] *** Somatt_wrk has quit IRC
[10:24:06] *** [HACKING-TWITTER has quit IRC
[10:24:26] *** Alina-emergency has joined #angularjs
[10:24:38] *** Somatt_wrk has joined #angularjs
[10:24:39] *** mykz_ has quit IRC
[10:24:55] *** L0u0s is now known as L0u1s
[10:25:07] *** Alina-emergency has quit IRC
[10:26:13] *** curvecode has joined #angularjs
[10:26:29] *** Alina-emergency has joined #angularjs
[10:26:56] *** [HACKING-TWITTER has joined #angularjs
[10:26:58] *** roolo has joined #angularjs
[10:27:14] *** ineedarobot has joined #angularjs
[10:27:22] *** [HACKING-TWITTER has quit IRC
[10:27:43] *** curvecode has quit IRC
[10:28:07] *** maurycyg has joined #angularjs
[10:28:08] *** charuru has quit IRC
[10:29:28] *** firefly_ has quit IRC
[10:29:30] *** sigurding has quit IRC
[10:29:46] *** bkuberek has joined #angularjs
[10:30:11] *** AciD``` has joined #angularjs
[10:30:33] *** klaut has quit IRC
[10:30:33] *** [HACKING-TWITTER has joined #angularjs
[10:31:31] *** sigurding has joined #angularjs
[10:32:32] *** J0514H has joined #angularjs
[10:32:49] *** J0514H has joined #angularjs
[10:33:32] *** lukebrowell has quit IRC
[10:34:20] *** bkuberek has quit IRC
[10:35:14] *** vintik has quit IRC
[10:35:34] *** bengillies has quit IRC
[10:36:28] *** mykz_ has joined #angularjs
[10:37:07] *** yene has joined #angularjs
[10:37:56] *** [HACKING-TWITTER has quit IRC
[10:38:56] *** Ir1sh has joined #angularjs
[10:39:42] *** ustunozgur has quit IRC
[10:40:38] *** motionman has quit IRC
[10:41:18] *** caitp has joined #angularjs
[10:41:57] *** scmx has joined #angularjs
[10:42:20] *** Sijdesign has joined #angularjs
[10:42:42] *** the_fog has quit IRC
[10:43:25] *** Ir1sh has quit IRC
[10:45:53] *** bengillies has joined #angularjs
[10:45:59] *** Khruu has quit IRC
[10:46:05] *** Sijdesign has quit IRC
[10:46:11] *** Khruu has joined #angularjs
[10:46:17] *** wiherek has joined #angularjs
[10:46:31] <wiherek> hi, how can I enable autocomplete in AngularJS on chrome?
[10:46:36] *** ustunozgur has joined #angularjs
[10:46:49] *** VictorBjelkholm has quit IRC
[10:47:43] <wiherek> in chrome the 'save password' popup doesn't pop :S
[10:48:08] <wiherek> i have autocomplete for form, and also for input type="email"
[10:48:15] <wiherek> and I gave all the elements names.
[10:48:29] *** idiomatic has joined #angularjs
[10:48:31] *** justinobney has joined #angularjs
[10:48:35] <TheAceOfHearts> yeah
[10:48:44] *** caitp has quit IRC
[10:48:47] *** mdedetrich has quit IRC
[10:48:51] <TheAceOfHearts> you have to actually do a POST to a form for it to ask to save the password
[10:49:11] *** mchapman has joined #angularjs
[10:49:14] <wiherek> ok, can I get around that?
[10:49:23] *** frkout_ has quit IRC
[10:49:27] <wiherek> jesus...
[10:49:36] <TheAceOfHearts> no, you need to POST a form for it to ask to save the password
[10:49:39] <TheAceOfHearts> well
[10:49:43] <TheAceOfHearts> you can make an iframe
[10:49:46] <TheAceOfHearts> and have it post to that
[10:49:55] *** frkout has joined #angularjs
[10:49:56] <TheAceOfHearts> that's what I do
[10:50:17] <TheAceOfHearts> oh, and you need to make sure that when you do a submit, it'll trigger input/change/keydown on all inputs
[10:50:26] *** Gooder has joined #angularjs
[10:50:29] <TheAceOfHearts> cuz the autocomplete on some browsers won't trigger any event
[10:50:33] <TheAceOfHearts> so your angular models won't get updated :P
[10:50:33] *** mogaj has quit IRC
[10:50:37] *** amacgregor has joined #angularjs
[10:50:38] <wiherek> yea
[10:50:43] <TheAceOfHearts> huh, I should write a blog post about this.
[10:50:58] <wiherek> yea, I remember that, it was just the popup that didn't pop :)
[10:51:23] *** jkremser has joined #angularjs
[10:51:24] *** jkremser has joined #angularjs
[10:51:33] <wiherek> what do you mean create an iframe?
[10:51:45] <wiherek> i should have the login/password in an iframe?
[10:52:38] *** justinobney has quit IRC
[10:52:39] *** tfennelly has joined #angularjs
[10:52:42] *** asfdasdfa has joined #angularjs
[10:52:48] *** mtsr has quit IRC
[10:52:52] *** mtsr_ has joined #angularjs
[10:52:52] <asfdasdfa> hello
[10:53:13] <asfdasdfa> can anyone suggest me a good example of file upload using angularJS
[10:53:14] <TheAceOfHearts> no
[10:53:20] <asfdasdfa> i need help
[10:53:30] <TheAceOfHearts> asfdasdfa: yes you do
[10:53:44] *** Fishy has joined #angularjs
[10:54:05] <asfdasdfa> do you have any example
[10:54:21] <TheAceOfHearts> wiherek: I just have an iframe and my form has the action set to the iframe's link and the target set to the iframe's name
[10:54:38] <TheAceOfHearts> asfdasdfa: that's not really an angular specific problem at all
[10:54:38] <asfdasdfa> thats all
[10:54:45] *** weaktea__ has quit IRC
[10:54:51] *** bkuberek has joined #angularjs
[10:54:59] *** mehlah has joined #angularjs
[10:55:02] <asfdasdfa> ok so angular is not allowed file upload
[10:55:26] *** mtsr__ has joined #angularjs
[10:55:26] <TheAceOfHearts> uhh… yes it is?
[10:55:45] <asfdasdfa> so what alternative i used with angular
[10:55:49] <asfdasdfa> for file upload
[10:55:51] <TheAceOfHearts> you do realize that
[10:55:55] *** marr has joined #angularjs
[10:56:00] <TheAceOfHearts> it's just javascript, right?
[10:56:08] <TheAceOfHearts> and you can do file uploads with javascript
[10:56:09] *** tarnus has joined #angularjs
[10:56:16] <TheAceOfHearts> so, if we piece those two things together
[10:56:18] *** Khruu has quit IRC
[10:56:19] <asfdasdfa> ok
[10:56:36] <asfdasdfa> is it possible to use both togather
[10:56:42] <asfdasdfa> did you ever try ?
[10:56:45] <TheAceOfHearts> yeah
[10:56:48] *** thepeculiarform has quit IRC
[10:56:54] *** Guest3323 has quit IRC
[10:56:59] <wiherek> TheAceOfHearts, so the url of the frame needs to process POST requests?
[10:57:10] *** Moon has joined #angularjs
[10:57:10] <wiherek> or do you just enter something like 'google.com' for the URI?
[10:57:19] <asfdasdfa> are you a java guy TheAceofHearts ?
[10:57:20] <TheAceOfHearts> wiherek: no. it only has to respond with a valid response
[10:57:21] *** anth0ny_ has joined #angularjs
[10:57:21] *** anth0ny_ has joined #angularjs
[10:57:31] <wiherek> right.
[10:57:34] <TheAceOfHearts> asfdasdfa: no, I'd hate my life too much if I were doing java at work
[10:57:34] *** Moon is now known as Guest3963
[10:57:35] *** gnrlbzik has joined #angularjs
[10:57:36] *** motionman has joined #angularjs
[10:57:36] *** motionman has joined #angularjs
[10:57:40] *** vintik has joined #angularjs
[10:57:44] <wiherek> and the password get's saved for the iframe's url?
[10:57:48] *** boubbin has quit IRC
[10:57:49] *** anth0ny has quit IRC
[10:57:57] <asfdasdfa> ok
[10:57:57] *** illume has quit IRC
[10:57:58] <wiherek> or the current site's
[10:57:58] *** Fishy has quit IRC
[10:58:09] <TheAceOfHearts> wiherek: it should get saved for the current site
[10:58:17] <TheAceOfHearts> you're just posting to an iframe
[10:58:27] *** illume has joined #angularjs
[10:58:30] <TheAceOfHearts> but the form is in the current site
[10:58:33] *** Khruu has joined #angularjs
[10:58:37] *** RandomStranger has joined #angularjs
[10:58:44] *** mtsr_ has quit IRC
[10:58:52] *** Kallb123 has joined #angularjs
[10:58:59] <asfdasdfa> ok i am gonna try file uploading with js
[10:59:00] *** lite_ has joined #angularjs
[10:59:08] *** bkuberek has quit IRC
[10:59:14] <asfdasdfa> thanks TheAceOfHearts for correcting me
[10:59:27] *** boubbin has joined #angularjs
[10:59:38] *** RandomStranger- has quit IRC
[10:59:38] <TheAceOfHearts> asfdasdfa: I'd suggest maybe checking out flow.js, they have an angularjs directive to make it even simpler :P https://github.com/flowjs/ng-flow
[10:59:39] *** Yahkob has quit IRC
[10:59:59] *** ineedarobot has quit IRC
[11:00:17] <asfdasdfa> actually i try it before
[11:00:19] *** mtsr__ has quit IRC
[11:00:30] *** webus has quit IRC
[11:00:36] *** wilmoore has quit IRC
[11:00:37] <TheAceOfHearts> they even have a nodejs example
[11:00:49] <asfdasdfa> ok
[11:00:50] <TheAceOfHearts> actually, multiple examples, even with jquery and php I think
[11:00:57] <asfdasdfa> i am not use to it
[11:01:09] *** tarnus has quit IRC
[11:01:10] *** ineedarobot has joined #angularjs
[11:01:10] <asfdasdfa> but i can try with your example once again
[11:01:27] <asfdasdfa> ok thanks buddy
[11:01:38] <TheAceOfHearts> I'd really suggest just taking a bit of time to learn how it actually works underneath
[11:01:41] <TheAceOfHearts> that'll help you a lot
[11:01:57] *** mtsr has joined #angularjs
[11:01:59] <asfdasdfa> ok got it..
[11:02:15] *** Moult_ has joined #angularjs
[11:02:20] <asfdasdfa> thanks a lot friend
[11:02:28] *** gnrlbzik has quit IRC
[11:02:28] *** schimmi has quit IRC
[11:02:43] *** Shrooms has joined #angularjs
[11:02:56] *** Moult has quit IRC
[11:03:37] *** asfdasdfa has quit IRC
[11:03:38] *** Akilan_developer has joined #angularjs
[11:04:04] *** the_fog has joined #angularjs
[11:04:13] *** Ir1sh has joined #angularjs
[11:04:48] *** Proditor_ has quit IRC
[11:05:16] *** olli- has quit IRC
[11:05:16] *** brodul has quit IRC
[11:05:41] *** juampy has quit IRC
[11:05:41] *** vintik has quit IRC
[11:05:42] *** stormpat has joined #angularjs
[11:05:48] *** juampy_ has joined #angularjs
[11:06:05] *** Akilan_developer has quit IRC
[11:06:47] *** Proditor has joined #angularjs
[11:06:51] *** intellix has joined #angularjs
[11:07:08] *** Shrooms has quit IRC
[11:07:38] *** klaut has joined #angularjs
[11:07:39] *** schimmi has joined #angularjs
[11:08:08] *** juampy__ has joined #angularjs
[11:08:14] <AlecTaylor> hi
[11:08:27] <intellix> Batarang Performance > Watch Expressions keeps disappearing :s
[11:08:30] *** _jpfm has quit IRC
[11:08:58] <AlecTaylor> When I click a button to submit a form (using http.post) the page redirects to a 404 not found
[11:09:14] <AlecTaylor> Why does the page change?
[11:09:44] *** juampy__ is now known as juampy
[11:10:01] *** olli- has joined #angularjs
[11:10:16] *** brodul has joined #angularjs
[11:11:14] <TheAceOfHearts> intellix: Batarang hasn't been updated in forever.
[11:11:31] <intellix> I don’t suppose there are any alternatives right? :D
[11:11:32] *** juampy_ has quit IRC
[11:11:51] <TheAceOfHearts> well
[11:11:58] <TheAceOfHearts> it depends on what you consider alternatives
[11:12:22] <TheAceOfHearts> probably not, though
[11:13:32] *** kayloos has joined #angularjs
[11:14:25] *** eutheria has joined #angularjs
[11:16:02] *** stormpat has quit IRC
[11:16:42] *** ustunozgur has quit IRC
[11:16:55] *** Oxelist has joined #angularjs
[11:17:25] <AlecTaylor> Darn, test-case doesn't fail http://plnkr.co/edit/V7UmDqgOU84mOE5JNu7U?p=preview
[11:17:59] *** kayloos has quit IRC
[11:18:28] *** mad123 has quit IRC
[11:19:11] *** danielpquinn has joined #angularjs
[11:20:21] *** TyrfingMjolnir has quit IRC
[11:20:25] *** AnybodyElse has quit IRC
[11:20:26] *** rbw has joined #angularjs
[11:20:47] *** glamb__ has quit IRC
[11:20:48] *** Xorlev has quit IRC
[11:20:48] *** amatecha has quit IRC
[11:21:05] *** tylerlh has quit IRC
[11:21:09] *** Ownix has quit IRC
[11:21:31] *** ebryn has quit IRC
[11:21:49] *** kiran_ has joined #angularjs
[11:21:54] *** twisted`_ has quit IRC
[11:21:54] *** jga has quit IRC
[11:22:01] *** Ownix has joined #angularjs
[11:22:01] *** amatecha has joined #angularjs
[11:22:05] *** Xorlev has joined #angularjs
[11:22:05] *** glamb__ has joined #angularjs
[11:22:16] *** yene has quit IRC
[11:22:17] *** AnybodyElse has joined #angularjs
[11:22:51] *** mllie has joined #angularjs
[11:23:18] *** azizur has joined #angularjs
[11:23:28] *** ustunozgur has joined #angularjs
[11:23:36] *** jga has joined #angularjs
[11:23:38] *** danielpquinn has quit IRC
[11:23:52] *** ebryn has joined #angularjs
[11:23:58] *** twisted`_ has joined #angularjs
[11:24:01] *** adben has joined #angularjs
[11:24:19] *** kiran_ has quit IRC
[11:24:41] *** Foxandxss has joined #angularjs
[11:25:05] <AlecTaylor> Why does the page refresh when I click submit? (~8 line test case) - http://plnkr.co/edit/V7UmDqgOU84mOE5JNu7U?p=preview
[11:25:10] <mllie> I'm using ui-router and want to use a state that is inherited, but the values that should populate one part of the view is available at first two steps down in the chain. How do I do that?
[11:25:23] *** dariocravero has joined #angularjs
[11:25:38] <TheAceOfHearts> servicez?
[11:25:39] <rbw> hello! I'm having issues with cors. After a user successfully authenticates with the backend, and is sent to the next page in angular, the backend responds with a 401 because angular doesn't perform a cookie request. I have "withCredentials" set globally, and cors properly configured (afaict) on the backend side. any ideas?
[11:26:05] *** Oxelist has quit IRC
[11:26:10] *** tarkus has joined #angularjs
[11:26:16] <TheAceOfHearts> mllie: use a service
[11:26:38] <mllie> TheAceOfHearts: hm, how would that help?
[11:27:01] *** ustunozgur has quit IRC
[11:27:24] <AlecTaylor> mllie: app.config(['$httpProvider', function ($httpProvider) {
[11:27:25] <AlecTaylor> $httpProvider.defaults.useXDomain = true;
[11:27:25] <AlecTaylor> delete $httpProvider.defaults.headers.common['X-Requested-With'];
[11:27:25] <AlecTaylor> }]);
[11:27:30] <TheAceOfHearts> rbw: don't you need to set withCredentials on the $http config?
[11:27:33] <TheAceOfHearts> is hat what you're doing?
[11:27:39] *** rao has joined #angularjs
[11:27:59] *** ustunozgur has joined #angularjs
[11:28:02] <TheAceOfHearts> mllie: you want to share data between multiple places, the way to do it is with a service
[11:28:16] *** rao has quit IRC
[11:28:17] *** jk-5 is now known as jk-5|gone
[11:28:34] *** foo-bar- has joined #angularjs
[11:28:40] <mllie> TheAceOfHearts: that is not the main problem
[11:28:58] <mllie> TheAceOfHearts: my problem is how I should structure my states, controllers and views
[11:29:15] <TheAceOfHearts> well
[11:29:20] <TheAceOfHearts> that's really an application specific problem
[11:29:22] <TheAceOfHearts> it depends.
[11:29:35] *** ninsei_g has quit IRC
[11:29:49] *** ninsei has joined #angularjs
[11:30:04] *** ninsei has joined #angularjs
[11:30:19] *** ninsei has joined #angularjs
[11:30:34] *** ninsei has joined #angularjs
[11:30:51] *** V0id_ has joined #angularjs
[11:30:53] *** wim has quit IRC
[11:30:53] *** juampy has quit IRC
[11:30:54] *** L0u1s is now known as L0u0s
[11:30:59] <AlecTaylor> mllie: Keep an eye on the new AngularJS versions
[11:31:01] *** airtonix_ has joined #angularjs
[11:31:09] <AlecTaylor> They have ways of managing authentication on a per-state basis
[11:31:11] *** juampy has joined #angularjs
[11:31:14] <AlecTaylor> (built-in)
[11:31:24] *** jacuqesdancona__ has quit IRC
[11:31:26] *** disorder20 has joined #angularjs
[11:31:33] <AlecTaylor> Why does the page refresh when I click submit? (~8 line test case) - http://plnkr.co/edit/V7UmDqgOU84mOE5JNu7U?p=preview
[11:31:50] <mllie> TheAceOfHearts: yes
[11:31:53] *** V0id has quit IRC
[11:31:53] *** airtonix has quit IRC
[11:31:59] <mllie> AlecTaylor: was that to correct person?
[11:32:12] <AlecTaylor> Yeah
[11:32:26] <AlecTaylor> Weren't you the one asking about auth and CORS?
[11:32:28] *** L0u0s is now known as L0u1s
[11:32:33] *** wim has joined #angularjs
[11:32:33] <mllie> AlecTaylor: no
[11:32:37] <AlecTaylor> Whoops
[11:32:38] *** foo-bar- has quit IRC
[11:32:59] <mllie> AlecTaylor: rbw did
[11:33:02] *** veturi has quit IRC
[11:33:05] <TheAceOfHearts> AlecTaylor: I think doing $http returns a promise
[11:33:19] *** veturi has joined #angularjs
[11:33:31] <TheAceOfHearts> and you're trying to execute… that promise
[11:33:39] <TheAceOfHearts> which I cannot fathom why you would be doing that
[11:33:51] *** disorder20 has joined #angularjs
[11:33:54] <AlecTaylor> TheAceOfHearts: My actual code has a .success and a .failure
[11:34:00] <AlecTaylor> But this test-case doesn't
[11:34:01] *** jacuqesdancona__ has joined #angularjs
[11:34:10] * AlecTaylor is trying to be as concise as possible
[11:34:12] *** motionman has quit IRC
[11:34:15] <TheAceOfHearts> *cough*
[11:34:19] *** Alina-emergency has quit IRC
[11:34:30] <TheAceOfHearts> I'm not sure if you're being serious or you're just fucking around with me
[11:34:39] *** V0id_ is now known as V0id
[11:34:46] <AlecTaylor> Oh whoops
[11:34:50] <TheAceOfHearts> if you're genuinely being serious, I'll try to explain
[11:34:50] <AlecTaylor> I haven't wrapped it in a function
[11:35:01] *** bengillies has quit IRC
[11:35:11] <TheAceOfHearts> \o/
[11:35:41] <AlecTaylor> yeah
[11:35:57] *** AlecTaylor has quit IRC
[11:36:08] *** Alina-emergency has joined #angularjs
[11:36:23] <rbw> TheAceOfHearts: nope. setting it globally seems to be working
[11:36:47] *** Alina-emergency has quit IRC
[11:36:58] <rbw> TheAceOfHearts: setting the withCredentials to false globally triggers a cors error, so it is doing something at least
[11:37:08] *** Aerospark has quit IRC
[11:37:12] *** bengillies has joined #angularjs
[11:37:20] *** mykz_ has quit IRC
[11:37:38] *** Aerospark has joined #angularjs
[11:37:42] <TheAceOfHearts> rbw: don't you need to set withCredentials to true each time you create an instance of it…? when you say setting it globally, do you mean setting it on $httpProvider as an interceptor..?
[11:37:52] <mllie> TheAceOfHearts: but in this case I have one abstract (call it parent) and then one child (call it firstChild). firstChild does redirect to one of its child (secondChild1 or secondChild2). I would like to just provide data from secondChild1 and secondChild2 but specify the template higher up in the hierachi
[11:37:59] *** Alina-emergency has joined #angularjs
[11:38:23] <TheAceOfHearts> I'm too tired to even try parsing that sentence
[11:38:32] <mllie> ok
[11:39:06] *** mykz_ has joined #angularjs
[11:39:24] <rbw> TheAceOfHearts: yes, setting it on $httpProvider as an interceptor
[11:39:31] <TheAceOfHearts> alright
[11:39:43] *** ustunozg_ has joined #angularjs
[11:39:51] <TheAceOfHearts> well, why don't you try doing it as a raw XMLHttpRequest and seeing if THAT works :P?
[11:40:01] <TheAceOfHearts> are you really certain your backend is working?
[11:40:05] *** ineedarobot has quit IRC
[11:40:10] *** juampy has quit IRC
[11:40:27] *** juampy has joined #angularjs
[11:40:45] <TheAceOfHearts> CORS is a pain
[11:41:03] <rbw> idd..
[11:41:08] <rbw> well.. it could be the backend
[11:41:24] <TheAceOfHearts> honestly, cookies are pretty terrible
[11:41:35] <TheAceOfHearts> imo, they shouldn't have added cookies to the HTTP standard
[11:41:43] *** _jpfm has joined #angularjs
[11:41:50] <TheAceOfHearts> we'd be a lot better of without em
[11:41:51] *** rockford_ has joined #angularjs
[11:41:53] <TheAceOfHearts> just use JWT :D
[11:41:54] <TheAceOfHearts> \o/
[11:41:56] *** _jpfm has quit IRC
[11:41:58] <rbw> perhaps I should try jwt instead?
[11:42:06] <TheAceOfHearts> yeah
[11:42:14] <TheAceOfHearts> I mean
[11:42:17] *** Sarusan has joined #angularjs
[11:42:17] <TheAceOfHearts> if you CAN change your backend
[11:42:18] *** arnab has joined #angularjs
[11:42:21] <TheAceOfHearts> then hell yeah~
[11:42:22] <TheAceOfHearts> yolo~
[11:42:26] *** _jpfm has joined #angularjs
[11:42:31] <rbw> yeah, I'll give jwt a try. thanks. :)
[11:42:35] *** rockfordal has quit IRC
[11:42:52] *** Aerospark has quit IRC
[11:42:58] *** Asiajey has joined #angularjs
[11:42:58] *** Asiajey has joined #angularjs
[11:43:03] *** ustunozgur has quit IRC
[11:44:11] <arnab> hi, i am having an issue with 2 way binding.
[11:44:21] *** dmg91 has joined #angularjs
[11:44:24] <arnab> I am binding an input element to a div
[11:44:39] <arnab> when the input changes the div updates
[11:44:43] <TheAceOfHearts> arnab: you need to bind to an object, not to a primitive.
[11:45:04] <arnab> but when i am console.log it shows old value that was set statically
[11:45:06] <arnab> http://plnkr.co/edit/5FsoociDlZHdGZIutwUL?p=preview
[11:45:22] *** caitp has joined #angularjs
[11:45:25] <arnab> its a string i am binding to
[11:45:30] *** ineedarobot has joined #angularjs
[11:45:31] <TheAceOfHearts> there's your problem.
[11:45:34] <TheAceOfHearts> you can't bind to a primitive
[11:45:36] <TheAceOfHearts> you have to bind to an object.
[11:45:54] <TheAceOfHearts> that's why we have ControllerAs syntax, to stop people from doing that
[11:46:23] <arnab> oh i see. I am srry i am new i havent seen the crontroller as syntax
[11:46:38] <TheAceOfHearts> anyway :P
[11:46:46] <TheAceOfHearts> you just have to bind to an object
[11:46:48] <TheAceOfHearts> never to a primitive.
[11:47:18] <arnab> okay let me try
[11:47:28] <arnab> thx
[11:48:18] *** vader has quit IRC
[11:49:06] *** justinobney has joined #angularjs
[11:49:30] *** Oxelist has joined #angularjs
[11:49:53] *** Guest1536 has joined #angularjs
[11:50:28] *** Aerospark has joined #angularjs
[11:50:29] *** zabiu^worldchamp has joined #angularjs
[11:51:18] *** caitp has quit IRC
[11:51:41] <zabiu^worldchamp> Hi there. Is there any way to access the inner content of a custom element directive (so said the ng-transclude) inside the directives scope/controller?
[11:51:46] *** cotko has joined #angularjs
[11:52:09] *** J0514H has quit IRC
[11:52:18] *** kalusn has quit IRC
[11:52:49] *** kalusn has joined #angularjs
[11:53:33] <TheAceOfHearts> yes
[11:53:43] *** Fishy has joined #angularjs
[11:53:48] *** justinobney has quit IRC
[11:54:58] *** Aerospark has quit IRC
[11:55:41] *** bkuberek has joined #angularjs
[11:57:15] *** rbs- has joined #angularjs
[11:57:29] <zabiu^worldchamp> TheAceOfHearts: was that an answer to my question? So: how? ;)
[11:57:55] *** Schtive has joined #angularjs
[11:58:03] *** Fishy has quit IRC
[11:58:11] <TheAceOfHearts> yes, it was an answer to your question
[11:58:20] <TheAceOfHearts> but I'm too drunk and sleepy to write an answer
[11:58:25] *** gnrlbzik has joined #angularjs
[11:58:26] <TheAceOfHearts> but if I understand your question properly
[11:58:29] <TheAceOfHearts> it's possible
[11:59:05] *** pluma has joined #angularjs
[11:59:15] *** aviraldg has joined #angularjs
[11:59:16] <Foxandxss> You're drunk, go home
[11:59:20] *** sacho has joined #angularjs
[11:59:50] <TheAceOfHearts> Foxandxss: I am drunk. and I am home.
[11:59:56] <TheAceOfHearts> I'm not sleepy enough to fall asleep though
[11:59:58] *** rbs has quit IRC
[11:59:58] <TheAceOfHearts> I WISH I WERE
[12:00:03] *** bkuberek has quit IRC
[12:00:04] <Foxandxss> 3 am?
[12:00:07] <TheAceOfHearts> yup
[12:00:08] *** jordandotdev has joined #angularjs
[12:00:11] <Foxandxss> I see
[12:00:12] <TheAceOfHearts> also, Foxandxss, I'm ripping out my work architecture
[12:00:18] <TheAceOfHearts> I'm gonna publish it soon
[12:00:23] *** L0u1s is now known as L0u0s
[12:00:25] <Foxandxss> good
[12:00:29] <TheAceOfHearts> hopefully it helps people out
[12:00:34] <TheAceOfHearts> I think it's non-trivial
[12:00:35] <TheAceOfHearts> but well
[12:00:45] <TheAceOfHearts> idk, I don't think you can get around the complexities if you're making a large app
[12:00:47] <Foxandxss> that needs a good article to explain it
[12:00:50] <TheAceOfHearts> yeah
[12:01:10] *** Drako_ has joined #angularjs
[12:01:21] <TheAceOfHearts> as part of this I'm hoping I'll find the motivation to do v2 of my model layer, and to open source my form validation code
[12:02:55] *** gnrlbzik has quit IRC
[12:03:07] <TheAceOfHearts> Foxandxss: I'm also hoping a few people will take a look at it and give me feedback on making it less terrible :P
[12:03:09] *** gkoume01 has joined #angularjs
[12:03:13] *** tfennelly has quit IRC
[12:03:26] <Foxandxss> you first have to finish it to show us
[12:03:29] *** gkoume01 has quit IRC
[12:03:31] <TheAceOfHearts> yeah
[12:03:34] <TheAceOfHearts> I have to show the class
[12:03:37] *** vader has joined #angularjs
[12:03:38] <TheAceOfHearts> well
[12:03:43] *** jonog has quit IRC
[12:03:45] <TheAceOfHearts> right now I have the core structure
[12:03:58] <TheAceOfHearts> and the dev script is almost complete, it's only missing the file watchers
[12:04:11] <TheAceOfHearts> then I have to do the build script, and the test scripts
[12:04:22] <ansu> TheAceOfHearts, do you use this ngDialog service you mentioned earlier?
[12:04:27] <TheAceOfHearts> no, I don't
[12:04:33] <TheAceOfHearts> I just googled and saw it
[12:04:57] *** mykz_ has quit IRC
[12:05:19] *** Nijikokun has quit IRC
[12:05:31] <TheAceOfHearts> Foxandxss: so, I had this realization during Saturday while making a shitty app
[12:05:39] <TheAceOfHearts> Rails is terrible in a lot of ways
[12:05:41] <TheAceOfHearts> but fuck
[12:05:45] <TheAceOfHearts> it's amazing if you're making something quick
[12:05:55] <TheAceOfHearts> just cuz you can generate a bunch of things
[12:05:56] <TheAceOfHearts> and boom
[12:05:59] <TheAceOfHearts> up and running
[12:06:00] <TheAceOfHearts> ez pz
[12:06:02] <Foxandxss> rails is awesomesauce
[12:06:05] <Foxandxss> but, slow
[12:06:18] <TheAceOfHearts> yeah, as long as you don't care about it being terrible, it's great
[12:06:25] *** puritys has joined #angularjs
[12:06:32] <TheAceOfHearts> and tbh, in most cases it doesn't matter
[12:07:08] <TheAceOfHearts> a business' goal is to try to cut as many corners as possible without getting caught, and hopefully go public or get acquired before their technical debt kicks them in the balls
[12:07:11] <arnab> TheAceOfHearts : thanks it worked out. Its proper now
[12:07:53] <ansu> hm ok but maybe you can help me nevertheless. if you close the dialog instance it resolves a promise that contains the removed element. the scope on the element was destroyed in the close function... is it still save for me to read from that scope, even though it's already destroyed?
[12:08:14] <TheAceOfHearts> no
[12:08:33] <TheAceOfHearts> if the scope was destroyed then you can't read from it . . .
[12:08:40] <ansu> i can!
[12:08:58] <TheAceOfHearts> well, I dunno what you're doing
[12:09:15] <ansu> well i'm trying to pass a result when the dialog is closed
[12:09:32] <ansu> and the only way i see to do that with ngDialog is to write the result on the scope and then read from it
[12:09:44] <TheAceOfHearts> doesn't it return like a promise?
[12:09:48] <TheAceOfHearts> so, with ui-bootstrap's modals
[12:09:50] <TheAceOfHearts> you get a promise
[12:09:54] <TheAceOfHearts> and you can resolve it with a value
[12:10:01] <TheAceOfHearts> I'd expect this ngDialog thing to do something similar
[12:10:09] <ansu> yes it does but the promise contains the dialog id, the dialog element and the number of dialog that are still open
[12:10:35] <ansu> i can't add my own stuff to that promise
[12:10:50] <TheAceOfHearts> you can if you try hard enough :P
[12:11:08] <ansu> oO
[12:11:53] <Foxandxss> TheAceOfHearts: so far I use lineman for workflow and angular way to structure apps, more or less
[12:11:57] <ansu> https://github.com/likeastore/ngDialog/blob/master/js/ngDialog.js#L72 here's the promise that is returned
[12:11:58] *** rawry has joined #angularjs
[12:12:00] <Foxandxss> plus rails on backend
[12:12:27] <TheAceOfHearts> ansu: too tired to think on it, try again tomorrow
[12:12:33] <TheAceOfHearts> or just use ui-bootstrap's modal
[12:12:49] <Foxandxss> that ngDialog seems cool
[12:12:56] <TheAceOfHearts> Foxandxss: oh neat
[12:12:59] *** jonog has joined #angularjs
[12:13:07] <TheAceOfHearts> lineman looks like it would've been great when I started setting up my app
[12:13:21] <TheAceOfHearts> I just build my own gulp scripts to do all my shit
[12:13:25] <Foxandxss> it worked for me since day 1, so I keep using it
[12:13:27] <Foxandxss> that is also good
[12:13:41] <TheAceOfHearts> but I have a lot of expectations out of my build scripts
[12:13:58] *** bbankes has quit IRC
[12:14:04] <ansu> TheAceOfHearts, nvm I'm using ui-bootstrap right now, but only for the modals... so I thought maybe it's worth to replace ui-bootstrap with this ngDialog ^^
[12:14:31] <rawry> hey guys. Any chance you could help me out with this question http://stackoverflow.com/questions/24734066/strict-models-with-angular-resource ? I'm trying to figure out the best practices for working with the api in my app
[12:14:49] <TheAceOfHearts> step 1. don't use $resource
[12:15:24] *** sigurding has quit IRC
[12:15:30] <rawry> lol
[12:15:32] <rawry> didn't expect that
[12:16:07] <Foxandxss> everybody trying to figure out best practices
[12:16:18] <Foxandxss> but nobody realizes that best practices comes from... practicing
[12:16:43] *** roolo has quit IRC
[12:16:55] <TheAceOfHearts> yeah
[12:17:04] <TheAceOfHearts> just keep writing terrible code until it stops being terrible \o/
[12:17:22] <Foxandxss> or you decide to change your career :P
[12:17:30] <zbzzn> anyone knows about unit testing?
[12:17:38] <TheAceOfHearts> a lot of people know about unit testing
[12:18:00] <zbzzn> can you point at them? I have questions :)
[12:18:22] *** dazs has joined #angularjs
[12:18:25] <Foxandxss> zbzzn: sure
[12:18:44] <TheAceOfHearts> Foxandxss: is 1337~ ask him :D
[12:18:57] <zbzzn> I know he is
[12:19:03] <rawry> are there any alternatives to $resource?
[12:19:24] <Foxandxss> zbzzn: what are those questions?
[12:19:43] <zbzzn> Can I ask in private chat? it might be long :(
[12:19:49] *** danielpquinn has joined #angularjs
[12:19:52] *** HelperW has joined #angularjs
[12:19:52] <TheAceOfHearts> oh man, Foxandxss, it looks like lineman does a lot of nice stuff
[12:19:58] <zbzzn> Everything about this application is... long...
[12:20:09] <aviraldg> zbzzn, let others learn as well :)
[12:20:10] <TheAceOfHearts> that sucks
[12:20:11] <Foxandxss> long profit?
[12:20:20] <TheAceOfHearts> I hate private chats
[12:20:26] <TheAceOfHearts> and people that message me randomly for private chats to ask for help
[12:20:29] <TheAceOfHearts> just ask in public
[12:20:34] <TheAceOfHearts> if anyone can help, they'll help :P
[12:20:37] <zbzzn> Ok I will spam here
[12:20:45] *** L0u0s is now known as L0u1s
[12:20:45] <aviraldg> btw, why not $resource, TheAceOfHearts
[12:20:48] <aviraldg> ?
[12:20:57] *** arek_at_work has joined #angularjs
[12:21:03] *** asdofindia has quit IRC
[12:21:04] *** odin_ has quit IRC
[12:21:04] *** derrzzaa has quit IRC
[12:21:05] *** thanpolas has quit IRC
[12:21:05] *** Mr_Tac has quit IRC
[12:21:09] <TheAceOfHearts> Foxandxss: does lineman do asset revisioning, replace asset urls with rev'd urls, and add source maps?
[12:21:16] *** puritys has quit IRC
[12:21:18] *** fwielstra has quit IRC
[12:21:21] <aviraldg> Or were you talking about his specific problem?
[12:21:28] *** asdofindia has joined #angularjs
[12:21:29] <Foxandxss> by default (you can add what you want or create your own plugins easily)...
[12:21:33] <Foxandxss> adds source maps
[12:21:35] <TheAceOfHearts> aviraldg: because I'm stubborn and I said I could do a better model layer, so I made my own model layer.
[12:21:35] *** mogaj has joined #angularjs
[12:21:44] <Foxandxss> but there is not asset revisioning
[12:21:52] <TheAceOfHearts> Foxandxss: that's no good D: …
[12:21:54] <Foxandxss> which shouldn't be hard with a grunt plugin
[12:21:56] <Foxandxss> TheAceOfHearts: ya
[12:22:00] <zbzzn> We are building a pretty big SPA using Angular.js, currently we write unit test on everything except the directives and we have ~92% coverage
[12:22:08] *** hugofirth has joined #angularjs
[12:22:19] *** sigurding has joined #angularjs
[12:22:29] *** L0u1s has quit IRC
[12:22:30] <aviraldg> TheAceOfHearts, ... and where's that?
[12:22:37] <zbzzn> But recently we realized that some of the unit tests are worthless, especially the ones on controllers
[12:22:43] <TheAceOfHearts> Foxandxss: is it fast? I moved from Grunt to Gulp and our build time went from 2 minutes to 35 seconds :D
[12:23:09] <Foxandxss> TheAceOfHearts: actually, there is a pair of plugins, lineman-rails and rails-lineman (plugin & gem) which lets assets pipeline run lineman, gets its assets and pull it back to rails
[12:23:25] <Foxandxss> and I presume assets pipeline would do versioning
[12:23:42] <TheAceOfHearts> aviraldg: closed source as part of my app at work… but eventually I'll rewrite it taking into account lessons learned :D …
[12:23:49] <TheAceOfHearts> and I'll publish it
[12:23:54] <TheAceOfHearts> because I wanna use it on my own projects
[12:23:58] <aviraldg> oh, cool
[12:24:02] <aviraldg> what's the one minute summary?
[12:24:08] <TheAceOfHearts> it's not terrible
[12:24:14] <Foxandxss> TheAceOfHearts: you could have two separate apps like we like to do, but on deploy, you can ask rails to go to lineman, do a build, grab the result, and move it on the right place
[12:24:23] *** tfennelly has joined #angularjs
[12:24:27] *** danielpquinn has quit IRC
[12:24:42] <TheAceOfHearts> Foxandxss: I like keeping it even more separate and having the app be able to build itself in isolation :P, but maybe I'm too nitpicky
[12:24:55] <Foxandxss> depend on what you need
[12:24:58] <TheAceOfHearts> of course
[12:25:05] <Foxandxss> I tend to move the static assets to /public
[12:25:14] <TheAceOfHearts> I do that too
[12:25:27] <Foxandxss> you can do that by hand (or script, or whatever)
[12:25:31] <Foxandxss> or assets pipeline do it
[12:25:33] <TheAceOfHearts> but still, revisioning your assets is annoying
[12:25:41] <Foxandxss> I hate assets pipeline, but I am curious of that (have to try)
[12:25:41] <TheAceOfHearts> I had to set it up at work and it took me a litle bit of time
[12:25:48] <Foxandxss> assets pipeline do that well
[12:25:52] <TheAceOfHearts> yeah, it does
[12:25:55] <Foxandxss> zbzzn: why are them worthless?
[12:26:06] *** mdix has joined #angularjs
[12:26:12] <zbzzn> Two main reasons
[12:26:13] <Foxandxss> there is a grunt task that attach a timestamp on them
[12:26:57] *** cctom_ has joined #angularjs
[12:26:57] *** Vladi has joined #angularjs
[12:26:59] <TheAceOfHearts> I need to take more time to ripping out my app's architecture, I really want feedback on it; but I genuinely believe you can't reduce complexity when the app is large :(
[12:27:04] <zbzzn> 1) We mocked the everything so basically my controllers work against fake objects and when the real objects change the tests still pass
[12:27:10] <Vladi> hello everybody
[12:27:42] <Vladi> I have problem with reloading page on my website using angularjs and expressjs
[12:28:06] <TheAceOfHearts> aviraldg: it's just a data storage mechanism that handles smart-ish caching for my server models and keeping the correct bindings at all times
[12:28:14] <zbzzn> 2) Many tests are 1-1 with the code. ie for every code line there is a test line which means that I test the implementation and not the flow
[12:28:31] <Foxandxss> uhm
[12:28:39] <TheAceOfHearts> Vladi: that's incredible vague
[12:28:40] <Foxandxss> I don't see point 1 wrong
[12:28:47] *** roymilder has quit IRC
[12:28:59] <Foxandxss> I mean, you need to be sure that your controller calls the right service (or mock) at the right moment
[12:29:05] <Foxandxss> with the right parameters, expecting a right output
[12:29:14] <TheAceOfHearts> yeah
[12:29:16] <TheAceOfHearts> that's totally reasonable
[12:29:24] <zbzzn> Take the following case for example:
[12:29:25] <Foxandxss> so if you have a function that calls let's say $location.path()
[12:29:26] <Vladi> my route provider works fine
[12:29:28] <Foxandxss> you want to be sure of that
[12:29:34] *** RandyT has quit IRC
[12:29:57] <Vladi> when I'm reloading 1 level links everithing works fine
[12:30:01] <zbzzn> Lets say I have a service that wraps around a collection and has two functions, clear and getValues
[12:30:16] <Foxandxss> yes
[12:30:24] <Vladi> But when I'm refreshing 2 level links something strange happens
[12:30:25] <zbzzn> if in my code I call clear and then getValues I will still get the values from the mock
[12:30:39] <zbzzn> but the real object would return empty collection
[12:30:41] *** hugofirth has quit IRC
[12:30:58] <zbzzn> oh meh... meeting
[12:31:03] *** hugofirth has joined #angularjs
[12:31:11] <TheAceOfHearts> your tests should just be checking it's getting called
[12:31:19] <TheAceOfHearts> then you could test your service to make that it behaves properly as well :)
[12:31:36] *** RandyT has joined #angularjs
[12:31:41] <zbzzn> then the test is worthless
[12:32:00] <zbzzn> because if my code calls clear and then getValues then obviously it is wrong
[12:32:04] <Foxandxss> zbzzn: no, that is wrong
[12:32:15] <Foxandxss> go to the meeting, we talk later
[12:32:15] <TheAceOfHearts> lol
[12:32:16] *** vader has quit IRC
[12:32:17] <zbzzn> but the test will show that I return the values properly
[12:32:20] <zbzzn> ok
[12:32:21] <Foxandxss> no
[12:32:22] <zbzzn> bbl
[12:32:25] <Foxandxss> you're mixing tests
[12:32:27] *** Hounddog has joined #angularjs
[12:32:32] <TheAceOfHearts> indeed
[12:33:05] *** jiggliemon has joined #angularjs
[12:33:23] <TheAceOfHearts> Foxandxss: lineman does pretty much almost everything that my scripts do D:
[12:33:28] <TheAceOfHearts> is it fast?
[12:33:32] *** Schtive has quit IRC
[12:33:36] <TheAceOfHearts> cuz my scripts at least are reasonably fast
[12:33:43] <TheAceOfHearts> if lineman is fast I'll be sad
[12:33:46] <Foxandxss> well, you run it
[12:33:50] <Foxandxss> lineman run
[12:33:51] <TheAceOfHearts> cuz it means I will have invested a lot of time for nothing
[12:33:52] <jiggliemon> Could someone tell me why the binding only works when I click 'Activity' ? http://plnkr.co/edit/YRKeB3IszWhijYaJVrj2?p=preview
[12:33:54] <Foxandxss> wait until tasks are done
[12:33:59] <Foxandxss> and it is just watch all the changes
[12:34:05] <TheAceOfHearts> I mean like
[12:34:11] <TheAceOfHearts> if you run build on a reasonably sized app
[12:34:16] <TheAceOfHearts> does it take a long time to build it?
[12:34:32] <Foxandxss> normally what takes more is ngmin
[12:34:40] <TheAceOfHearts> ah, indeed
[12:34:49] <Foxandxss> anyway, how many times you build?
[12:34:55] <Foxandxss> I don't build until I need to deploy
[12:34:57] *** Vladi has quit IRC
[12:35:05] <TheAceOfHearts> every time I push to CI D:
[12:35:14] <Hounddog> but why?
[12:35:24] <TheAceOfHearts> it gets built once to run e2e tests, and it gets built when deploying to staging
[12:35:27] <TheAceOfHearts> so it adds up
[12:35:30] <TheAceOfHearts> I don't like waiting
[12:35:38] <Hounddog> I mean you are always changing something on the frontend?
[12:35:45] *** jk-5|gone is now known as jk-5
[12:35:56] *** Oxelist has quit IRC
[12:35:57] <TheAceOfHearts> I managed to get my build time down quite a bit by having ngmin only run on my local scripts, so it skips libraries I added in
[12:36:02] *** zz_Brocken is now known as Brocken
[12:36:19] <TheAceOfHearts> Hounddog: I have a dev script which I use most of the time
[12:36:25] <TheAceOfHearts> but still
[12:36:28] <Hounddog> TheAceOfHearts: Let me rephrase it. Do you also build even if nothing has changed?
[12:36:56] <TheAceOfHearts> Hounddog: yes, because it's hard to know if nothing has changed
[12:37:07] <Hounddog> i mean i dont know your structure but i have frontend and backend... If i do something on the backend there is no need to rebuild on the frontend
[12:37:11] *** Oxelist has joined #angularjs
[12:37:27] <TheAceOfHearts> our CI just runs the build script every time :P
[12:37:38] <TheAceOfHearts> it doesn't know if a change is server or frontend related
[12:37:57] <Hounddog> you can just check that by looking which files have changed via git
[12:38:18] *** azizur has quit IRC
[12:38:18] <Foxandxss> I can't help much about it
[12:38:27] <TheAceOfHearts> well
[12:38:29] <jiggliemon> Ugggggh
[12:38:32] <Foxandxss> normally if I need jenkins to fire (on ui-bootstrap) I push to a branch
[12:38:36] <TheAceOfHearts> my builds take 35 seconds, which I find acceptable
[12:38:38] <jiggliemon> setInterval -> $interval
[12:38:41] <jiggliemon> wtf?
[12:38:43] <Hounddog> as said, also depends on your structure
[12:38:59] <TheAceOfHearts> jiggliemon: it's so you can write synchronous tests
[12:39:11] *** dariocravero has quit IRC
[12:39:24] <TheAceOfHearts> you can do $interval.something() idk what it's called, and it'll run all the interval functions
[12:39:32] <Foxandxss> jiggliemon: good for testing and it applies
[12:39:33] <TheAceOfHearts> ah
[12:39:36] <TheAceOfHearts> like flush() or something
[12:39:37] <Foxandxss> so it runs inside digest
[12:39:52] *** DoniRS has joined #angularjs
[12:39:59] <jiggliemon> yeah
[12:40:10] <jiggliemon> So "digest" is what the binding runs inside of?
[12:40:14] <jiggliemon> can I force a digest?
[12:40:19] <TheAceOfHearts> yeah
[12:40:25] <TheAceOfHearts> $scope.$digest() or w/e
[12:40:26] <jiggliemon> what if I wanted to just use setInterval?
[12:40:32] <TheAceOfHearts> you can use setInterval
[12:40:48] <TheAceOfHearts> but
[12:40:51] <TheAceOfHearts> testing async code is hard
[12:40:56] <TheAceOfHearts> so idk why you would want to do that
[12:41:20] <jiggliemon> I don't need to use it specificly.
[12:41:25] <jiggliemon> Just in theory.
[12:41:43] <TheAceOfHearts> it's all jsut javascript
[12:42:47] *** RyanHirsch has joined #angularjs
[12:43:00] <TheAceOfHearts> a lot of people seem to struggle with this
[12:43:01] *** intellix has quit IRC
[12:43:15] <TheAceOfHearts> but it's important to remember that angularjs is just javascript.
[12:43:37] <jiggliemon> Of course it is. But it's also a pretty robust library.
[12:43:57] <TheAceOfHearts> like, this guy earlier was asking if you can do file uploads with angularjs
[12:44:17] <jiggliemon> things "just work" enough that when they don't - you gotta understand the library to know what to address
[12:44:30] *** motionman has joined #angularjs
[12:44:30] *** motionman has joined #angularjs
[12:45:02] <TheAceOfHearts> knowing more just brings you less joy; living in pure ignorance is pure bliss
[12:45:04] *** bengillies has quit IRC
[12:45:18] *** pluma has quit IRC
[12:45:20] <jiggliemon> TheAceOfHearts I agree
[12:47:11] *** bengillies has joined #angularjs
[12:47:19] *** aviraldg has quit IRC
[12:47:50] *** avens has joined #angularjs
[12:47:54] *** caitp has joined #angularjs
[12:47:58] <TheAceOfHearts> Foxandxss: lineman seems cool. But I'm a hipster, so I built my own.
[12:48:04] *** schonert has joined #angularjs
[12:48:09] <Foxandxss> ya, fuck the police then
[12:48:25] <Foxandxss> at the end it is just a collection of grunt / gulp tasks
[12:48:27] <TheAceOfHearts> indeed
[12:48:29] <TheAceOfHearts> yeah
[12:48:31] <Foxandxss> the meat is not there
[12:48:53] *** dariocravero has joined #angularjs
[12:48:53] <jiggliemon> I shot the sherrif
[12:49:01] *** Oxelist has quit IRC
[12:49:01] *** Click66 has joined #angularjs
[12:49:03] <jiggliemon> *sheriff
[12:49:05] <TheAceOfHearts> it's almost 4AM
[12:49:07] <TheAceOfHearts> and I can't slee p
[12:49:30] <jiggliemon> TheAceOfHearts do you have a normal human job?
[12:49:42] <TheAceOfHearts> well
[12:49:44] *** JoshGlzBrk has quit IRC
[12:49:47] <TheAceOfHearts> not normal human job, no
[12:49:48] <rawry> is programmer a normal human job?
[12:49:49] *** dariocra_ has joined #angularjs
[12:49:58] *** dariocravero has quit IRC
[12:49:59] *** justinobney has joined #angularjs
[12:49:59] <TheAceOfHearts> but I do have to be in the office for a few hours at least
[12:50:10] <jiggliemon> I'm watching Need for Speed.
[12:50:14] <TheAceOfHearts> I think I'm expected to be there between 11AM and 3PM I think
[12:50:18] <Foxandxss> TheAceOfHearts: prepare some monsters
[12:50:20] <VeeWee> Somebody has a good alternative for CORS in IE8 for angular?
[12:50:21] *** jonog has quit IRC
[12:50:22] <jiggliemon> 2hr left.
[12:50:29] <jiggliemon> Standup @10
[12:50:30] <TheAceOfHearts> VeeWee: jsonp?
[12:50:47] <TheAceOfHearts> actually
[12:50:47] <VeeWee> Impossible
[12:50:53] <TheAceOfHearts> doesn't IE8 have XDomainRequest?
[12:50:55] *** jonog has joined #angularjs
[12:50:56] <jiggliemon> VeeWee I was just reading this XDomain project
[12:51:14] <VeeWee> yeah, saw that to. But not sure how stable that project is
[12:51:16] <jiggliemon> VeeWee https://github.com/jpillora/xdomain
[12:51:31] *** mdix has quit IRC
[12:51:41] *** intellix has joined #angularjs
[12:51:45] <TheAceOfHearts> uhh.. you do realize that XDomainRequest is part of IE8 native, right?
[12:51:49] <TheAceOfHearts> http://msdn.microsoft.com/en-us/library/ie/cc288060(v=vs.85).aspx
[12:51:57] <jiggliemon> Well - they fuck w/ the XMLHttpRequest obj
[12:52:13] *** caitp has quit IRC
[12:52:31] <VeeWee> Yes I know. But don't want to spent to much time on all this IE crap. Try to keep my code as non IE as possible :)
[12:52:32] *** Oxelist has joined #angularjs
[12:52:37] *** joshontheweb has quit IRC
[12:52:48] <VeeWee> But saw some issues with file uploads etc in that github plugin.
[12:52:49] <jiggliemon> Use XDomain until it breaks.
[12:52:55] <jiggliemon> Oh?
[12:53:01] <TheAceOfHearts> yeah
[12:53:01] <VeeWee> https://github.com/jpillora/xdomain/issues/74
[12:53:18] *** spazbite has joined #angularjs
[12:53:35] <TheAceOfHearts> it's just IE being terrible
[12:53:43] <Foxandxss> IE8 support is being deprecated
[12:53:45] <TheAceOfHearts> just don't allow IE to do file uploads
[12:53:46] *** Fishy has joined #angularjs
[12:53:55] <VeeWee> well the application is all about file uploads :D
[12:54:01] <VeeWee> and we need to support IE8
[12:54:03] *** justinobney has quit IRC
[12:54:09] <TheAceOfHearts> well, that sucks for you then
[12:54:14] <VeeWee> thanks! :D
[12:54:15] <TheAceOfHearts> you'll need to have normal forms
[12:54:21] <TheAceOfHearts> because IE is terrible
[12:54:27] <Foxandxss> maybe angular wasn't the right choice for that project
[12:54:40] <TheAceOfHearts> just open up an iframe and do the upload there
[12:54:40] <VeeWee> yes it is
[12:54:58] *** jonog has quit IRC
[12:55:18] <TheAceOfHearts> you can pretty much solve any problem by throwing iframes at it. it's sorta like regex. if regex isn't solving your problems, you're just not using it enough
[12:55:21] <VeeWee> Bill Gates should donate me money for all those dirty IE hacks I need to do to get shit working :D
[12:55:22] <Foxandxss> not because you want to use it, means it is the right choice :P
[12:55:25] *** encryptd_fractl has joined #angularjs
[12:55:37] *** dariocra_ has quit IRC
[12:55:47] *** jonog has joined #angularjs
[12:55:59] <VeeWee> Foxandxss: it's the right tool for the job. Not because IE uploads are crappe, that it isn't the right tool! :D
[12:56:08] <TheAceOfHearts> well
[12:56:09] *** fwielstra has joined #angularjs
[12:56:10] <TheAceOfHearts> like I said
[12:56:16] <VeeWee> TheAceOfHearts: I heard you like iframes, so i placed iframes in iframes ...
[12:56:16] <TheAceOfHearts> iframes are your best bet I'd guess
[12:56:18] *** roolo has joined #angularjs
[12:56:24] *** bkuberek has joined #angularjs
[12:56:44] <VeeWee> Anyway Thanks, will take a look at that stuf!!
[12:56:58] <TheAceOfHearts> I'd say that angular + ie8 is not a good mix
[12:57:05] <TheAceOfHearts> especially since it's dropping support soon
[12:57:06] *** tarnus has joined #angularjs
[12:57:13] <TheAceOfHearts> and heck, ie9 is probably going away soon too
[12:57:39] <VeeWee> I hope so! We should ship a free version of the latest IE with the application :D
[12:57:49] *** bkuberek has quit IRC
[12:57:58] *** Fishy has quit IRC
[12:58:16] *** bkuberek has joined #angularjs
[12:58:16] <rawry> China will keep using outdated IE versions for ages though
[12:58:26] *** Mr_Tac has joined #angularjs
[12:58:35] <TheAceOfHearts> *only supports IE10 and above*
[12:58:41] <TheAceOfHearts> *and ie10 support is iffy at best*
[12:58:44] *** schonert has quit IRC
[12:59:16] *** gnrlbzik has joined #angularjs
[12:59:22] <VeeWee> the problem is that many companies work with old IE versions
[12:59:31] <VeeWee> even IE9 is not fully suporting CORS
[12:59:33] <VeeWee> which sucks!
[12:59:38] *** encryptd_fractl has quit IRC
[12:59:41] <TheAceOfHearts> well
[12:59:46] <TheAceOfHearts> it's all about tradeoffs
[12:59:51] <TheAceOfHearts> that's how the economy works
[13:00:00] <TheAceOfHearts> for us it's not a problem to not support old IE's
[13:00:05] <TheAceOfHearts> because they're not worth it for us
[13:00:08] *** venky_ has joined #angularjs
[13:00:13] *** dariocravero has joined #angularjs
[13:00:19] <TheAceOfHearts> if that's not a sacrifice you can make, then you need to put up with the hacky BS
[13:00:29] <TheAceOfHearts> honestly, IE9 is like five years old or something
[13:00:38] <TheAceOfHearts> no reason to keep supporting that
[13:00:42] <TheAceOfHearts> go die IE9
[13:00:46] <cctom_> guys, i’m doing a server PUT in a $watch to update the server data. The server does processing and returns a modified which I want to replace my original object with. However, doing this fires the $watch again resulting in an endless loop. Any tips?
[13:01:00] <venky_> Hi..Can some body help me how I can add values to directive attributes dynamically??
[13:01:06] <VeeWee> TheAceOfHearts: fully agree. Those lazy sysadmins should upgrade their IE shit!
[13:01:13] <venky_> ex:
[13:01:19] *** kalusn has quit IRC
[13:01:23] *** Mr_Tac has quit IRC
[13:01:26] <zbzzn> back
[13:01:27] <VeeWee> There's really no downside anymore since XP is expired
[13:01:43] <venky_> <my-custom-directive consumer="consumer"></my-consumer-directive>
[13:01:45] <rawry> cctom_: use something else. $scope.$broadcast an event or something
[13:01:51] *** tarnus has quit IRC
[13:01:57] *** jonog has quit IRC
[13:02:11] <cctom_> rawry: you mean instead of the watch?
[13:02:23] <rawry> cctom_: yeah
[13:02:28] *** mykz_ has joined #angularjs
[13:02:29] *** schonert has joined #angularjs
[13:02:33] *** jonog has joined #angularjs
[13:02:38] *** bkuberek has quit IRC
[13:02:47] <rawry> how do I respond to someone directly btw? Do I have to type his name before the message manually? that can't be right
[13:02:52] *** ninsei has quit IRC
[13:03:10] *** ninsei has joined #angularjs
[13:03:22] *** intellix has quit IRC
[13:03:25] *** gnrlbzik has quit IRC
[13:03:43] <cctom_> rawry: thanks, i’ll have a look
[13:03:50] *** Click66 has quit IRC
[13:04:02] *** jonog has quit IRC
[13:04:09] *** dariocravero has quit IRC
[13:04:10] *** jonog has joined #angularjs
[13:04:17] *** dariocra_ has joined #angularjs
[13:04:22] <cctom_> rawry: in colloquy you can do autocomplete of somebody’s name with tab
[13:04:22] <venky_> Hey Guys, i have to add consumer json retrieved dynamically to my directive attribute
[13:04:34] *** roymilder has joined #angularjs
[13:04:52] <rawry> cctom_: I'm using browser though
[13:05:36] *** Mr_Tac has joined #angularjs
[13:05:53] <Foxandxss> well, browser experience suck :P
[13:06:38] *** rockford_ has quit IRC
[13:07:17] <rawry> :( oh well
[13:07:47] *** Sarusan has quit IRC
[13:09:56] *** bengillies has quit IRC
[13:10:37] *** venky_ has quit IRC
[13:11:04] *** arnab has quit IRC
[13:11:24] *** bengillies has joined #angularjs
[13:11:30] <rawry> anyone using React in a real-world project? I'm seeing it being mentioned more and more often lately
[13:13:11] *** rchavik has quit IRC
[13:13:45] *** drej has joined #angularjs
[13:14:23] *** kayloos has joined #angularjs
[13:15:36] *** Gooder` has joined #angularjs
[13:15:47] <TheAceOfHearts> react is cool
[13:15:58] <TheAceOfHearts> it's fast. I like fast.
[13:16:07] *** orion1111 has joined #angularjs
[13:16:15] <TheAceOfHearts> but haven't tried it very much
[13:16:20] *** jiggliemon has quit IRC
[13:16:50] *** jiggliemon has joined #angularjs
[13:16:59] *** pluma has joined #angularjs
[13:16:59] *** pluma has joined #angularjs
[13:17:01] *** Gooder has quit IRC
[13:17:06] <TheAceOfHearts> brb sleep
[13:17:09] *** TheAceOfHearts has quit IRC
[13:18:21] *** metasansana has quit IRC
[13:19:11] *** kayloos has quit IRC
[13:19:46] *** FunnyLookinHat has joined #angularjs
[13:19:59] *** jonog has quit IRC
[13:20:23] *** bengillies has quit IRC
[13:20:33] *** Cavallari has joined #angularjs
[13:20:36] *** jonog has joined #angularjs
[13:20:42] *** danielpquinn has joined #angularjs
[13:20:51] *** Cavallari has quit IRC
[13:21:10] *** sk87 has quit IRC
[13:21:58] *** holymac has quit IRC
[13:22:41] *** joshontheweb has joined #angularjs
[13:23:40] <arek_at_work> reactjs is nono
[13:23:44] *** Nizumzen has joined #angularjs
[13:24:44] *** jonog has quit IRC
[13:25:08] *** danielpquinn has quit IRC
[13:25:48] *** azizur has joined #angularjs
[13:27:04] *** joshontheweb has quit IRC
[13:29:02] *** foo-bar- has joined #angularjs
[13:29:03] <rawry> arek_at_work: why?
[13:30:28] *** jonog has joined #angularjs
[13:30:40] <fwielstra> IMHO, React is sacrificing maintainability and developer-friendliness for performance; if you need performance, and can’t wait for a possible future version of AngularJS with optimized rendering (inspired by React), then you can make steps to use it inside your angular app. But it’s a different paradigm, and afaik there’s no particularly nice way to get React into your Angular app.
[13:31:05] *** H1FuelCell has joined #angularjs
[13:31:11] *** joshontheweb has joined #angularjs
[13:31:37] <arek_at_work> fwielstra: there are different frameworks also
[13:31:56] *** joshontheweb has quit IRC
[13:31:58] *** mllie has quit IRC
[13:32:19] <arek_at_work> fwielstra: and in fact You can replace render engine of angular if You want
[13:32:32] <arek_at_work> but i would not use reactjs for this
[13:33:18] <arek_at_work> rawry: reactjs isnt complete framework, its more like some kind of polyfill for webcomponents
[13:33:32] *** jonog has quit IRC
[13:33:40] *** foo-bar- has quit IRC
[13:34:10] *** jonog has joined #angularjs
[13:35:03] *** stormpat has joined #angularjs
[13:35:12] *** foo-bar- has joined #angularjs
[13:35:22] *** joshontheweb has joined #angularjs
[13:35:38] *** intellix has joined #angularjs
[13:35:46] *** joshontheweb has quit IRC
[13:36:42] *** joshontheweb has joined #angularjs
[13:37:57] <zabiu^worldchamp> Some design question: I need something like a nested json object, where people enter data and then it should be checked (whenever some changes something in any depth!) and the result of the check should be displayed. So it may be, that a change in a depth structure may invalide the whole parent tree check, that ran before. How would you do the check? Recursive for each element or better exchange the whole json object and
[13:38:20] *** Asiajey has quit IRC
[13:38:41] *** jonog has quit IRC
[13:39:12] *** mehlah has quit IRC
[13:39:25] *** Sengoku has joined #angularjs
[13:39:57] *** deepa is now known as deepy
[13:40:31] *** benvds has quit IRC
[13:41:34] *** marr has quit IRC
[13:41:40] *** benvds has joined #angularjs
[13:42:08] *** Click66 has joined #angularjs
[13:43:27] *** adben has quit IRC
[13:43:38] *** Sengoku has quit IRC
[13:45:39] *** blakef has joined #angularjs
[13:47:49] *** H1FuelCell has quit IRC
[13:47:59] *** H1FuelCell has joined #angularjs
[13:49:13] *** Vladi has joined #angularjs
[13:49:27] <Vladi> Need help
[13:49:51] *** Veer has joined #angularjs
[13:49:52] <Vladi> does anyone knows how to use express with angular in html5 mode
[13:49:55] <Vladi> ?
[13:50:00] <ppppaul> rawry, isn't facebook using react?
[13:50:15] *** Veer is now known as Guest1986
[13:50:17] <ppppaul> there is prismatic, which uses OM for their site, which is ontop of react
[13:50:56] *** RandyT has quit IRC
[13:51:11] <ppppaul> it's possible that roomkey.com is using om, as it is a clojure project and probably uses om
[13:51:26] *** jonog has joined #angularjs
[13:51:46] <Guest1986> what all angular directives are available to be used for better UI experience?
[13:52:14] <ppppaul> Guest1986, the angular API docs give you a list
[13:52:19] *** one_zero has quit IRC
[13:52:25] *** Aerospark has joined #angularjs
[13:52:27] *** Guest_ has joined #angularjs
[13:52:38] *** sk87 has joined #angularjs
[13:52:47] *** shorne has quit IRC
[13:52:49] *** ineedarobot has quit IRC
[13:53:23] <Guest1986> Whether we should use restangular for rest API calls, or any other better suggestions?
[13:53:37] *** lsiv568 has joined #angularjs
[13:53:45] *** Fishy has joined #angularjs
[13:53:48] <ppppaul> restangular can be very nice
[13:53:55] *** vbabiy has joined #angularjs
[13:54:05] <ppppaul> the only issue i have with it is their array object for lists...
[13:54:06] <Vladi> help
[13:54:48] <Guest1986> what are restangular's benefits over angular provided $resource or $http
[13:55:00] <ppppaul> i've had a much better experience using restangular than $http or the other rest object provided by angular
[13:55:38] *** hugofirth has quit IRC
[13:55:47] <Guest1986> Thanks ppppaul for reply but can you please elaborate its benefits
[13:55:56] *** Brocken is now known as zz_Brocken
[13:56:00] *** ineedarobot has joined #angularjs
[13:56:28] *** jonog has quit IRC
[13:56:30] *** Vladi has quit IRC
[13:56:46] *** RandyT has joined #angularjs
[13:57:00] *** Aerospark has quit IRC
[13:57:01] *** jonog has joined #angularjs
[13:57:22] <Guest1986> Thanks ppppaul for reply but can you please elaborate its benefits
[13:57:49] *** Fishy has quit IRC
[13:58:03] *** rodrigobaron has joined #angularjs
[13:58:51] *** drej has quit IRC
[13:59:03] *** bkuberek has joined #angularjs
[13:59:04] <Guest1986> ppppaul, you there...
[13:59:24] *** schonert has quit IRC
[14:00:06] *** gnrlbzik has joined #angularjs
[14:00:44] *** tarnus has joined #angularjs
[14:00:59] *** slainer68 has quit IRC
[14:01:12] *** slainer68 has joined #angularjs
[14:01:18] *** jonog has quit IRC
[14:01:21] *** hswolff has joined #angularjs
[14:01:35] *** Sgeo has quit IRC
[14:01:38] *** zz_Brocken is now known as Brocken
[14:01:49] <ppppaul> yup
[14:02:37] <ppppaul> it has a nice api
[14:03:06] *** foofoobar has quit IRC
[14:03:07] *** rscata_ has joined #angularjs
[14:03:29] <ppppaul> $http has almost no api compared to restangular, and you'll most likely build your own half assed implentation of restangular if you only use $http (depending on project size)
[14:03:32] *** bkuberek has quit IRC
[14:03:38] *** greengriminal has joined #angularjs
[14:03:59] *** bengillies has joined #angularjs
[14:04:20] *** fedenunez has joined #angularjs
[14:04:33] *** gnrlbzik has quit IRC
[14:04:39] <ppppaul> the other angular thing... i forget what it's called ng-resource, i used it when it sucked, now it's better but i can't say anything about it because it was so bad when it sucked that i never want to touch it again.
[14:04:40] *** rscata_ is now known as rscata
[14:05:33] *** jordandotdev has quit IRC
[14:05:50] <ppppaul> pre 1.2 days the ng-resource didn't let me manipulate it the way i wanted, and other people i knew who tried to use it ended up going back to $http
[14:05:51] *** foofoobar has joined #angularjs
[14:06:10] *** Ysurian has quit IRC
[14:06:18] <Guest1986> but now it has most of the restangular thing
[14:06:19] *** arizzo has joined #angularjs
[14:06:20] *** Guest_ has quit IRC
[14:06:22] *** Dragory has quit IRC
[14:06:25] <Guest1986> plus it is google supported
[14:06:46] <ppppaul> i have had no problems with restangular, cept for their restangularized array, which sometimes causes problems with $watch, and i can't to nice FP on it
[14:06:48] *** asdofindia has quit IRC
[14:07:09] <ppppaul> i don't care if google supports anything
[14:07:23] <Guest1986> but if the restangular guy stops supporting on, then we are gonna stuck right
[14:07:39] <ppppaul> um
[14:08:06] <ppppaul> seems a silly way to think
[14:08:36] *** jobelenus has joined #angularjs
[14:08:44] *** mehlah has joined #angularjs
[14:08:48] <Guest1986> actually this was one of the thoughts I got while surfing over stackoverflow
[14:09:00] <TweedleDee> seems like decent thought to me... chose a product thats supported by 10 or so fuck heads or google.. ok i'll take the google team for their 'best pratices' and paid development
[14:09:04] *** tommmied has quit IRC
[14:09:08] *** marcospgp has joined #angularjs
[14:09:15] *** tommmied has joined #angularjs
[14:09:28] <ppppaul> it's not like you can ask google to fix ng-resource... it's not even part of angular, it's in it's own repo from almost the beginning
[14:09:29] *** Guest_ has joined #angularjs
[14:09:43] *** spaceonline has joined #angularjs
[14:09:52] *** Foxandxss has quit IRC
[14:10:02] <marcospgp> Hey guys, my auth controller looks like this - http://pastebin.com/r3aFPwA1
[14:10:02] <Guest1986> but it is all the way upgraded over the time
[14:10:12] <marcospgp> I feel like there is a lot of watches in there /: how can I change that?
[14:10:17] <marcospgp> there are* ugh
[14:10:24] <ppppaul> instead, i would look into who is using the projects, and then make a choice
[14:10:34] <ppppaul> if google isn't even using ng-resource, then maybe they wont support it
[14:10:47] *** sneakertack has joined #angularjs
[14:11:11] <ppppaul> marcospgp, you may want to look into bind-once directive
[14:11:13] *** rockfordal has joined #angularjs
[14:11:17] <Guest1986> google is'nt using it but google is developing and supporting it
[14:11:51] *** Sengoku has joined #angularjs
[14:11:55] *** earthquake has quit IRC
[14:12:20] *** james has joined #angularjs
[14:12:26] <james> hello
[14:12:30] <ppppaul> well, to me that is a problem.
[14:12:42] *** Dragory has joined #angularjs
[14:12:44] *** james is now known as Guest46340
[14:12:47] <Guest46340> can any one help how to do file upload using angularjs
[14:12:59] *** Oxelist_ has joined #angularjs
[14:13:08] <Guest1986> ppppaul, problem?
[14:13:17] <ppppaul> Guest46340, there are many angular uploaders you can find on bower
[14:13:29] <ppppaul> you may want to checkout plupload
[14:13:39] *** asdofindia has joined #angularjs
[14:13:39] <Guest46340> actully i want to use it with spring mvc
[14:13:51] <ppppaul> Guest1986, if they aren't using it then why should i believe they will support it?
[14:13:56] *** _jpfm has quit IRC
[14:13:57] <Guest46340> do you have any example of it?
[14:14:28] <ppppaul> you can check their commits, and see how many google employees are on the project, and how often then contribute and how many issues they close.... then make up your own mind
[14:14:37] <Guest1986> oh man, they are whole lot into development of angular and making it better day by day, why would they leave it
[14:14:40] *** asdofindia has quit IRC
[14:14:43] *** ustunozg_ has quit IRC
[14:14:57] <ppppaul> ng-resource is not part of angular
[14:15:12] <Guest46340> hey guyz
[14:15:12] *** asdofindia has joined #angularjs
[14:15:17] <ppppaul> it has had it's own repo before the project started being decentralized
[14:15:18] *** tomzx`afk is now known as tomzx
[14:15:24] <Guest1986> so ng-reaource is third party?
[14:15:42] <ppppaul> Guest1986, look it up yourself. it's on github
[14:15:53] <Guest46340> any java guy
[14:15:58] *** Sengoku has quit IRC
[14:16:02] <Guest1986> ok, will surely look into this
[14:16:07] <ppppaul> :)
[14:16:12] <Guest46340> who knows how to do file upload using angular
[14:16:22] *** asdofindia has quit IRC
[14:16:22] <Guest1986> hey ppppaul, have you worked on angular
[14:16:30] *** Harry_ has joined #angularjs
[14:16:38] <Harry_> Hello
[14:16:44] *** Oxelist has quit IRC
[14:16:47] *** tommmied has quit IRC
[14:16:54] *** asdofindia has joined #angularjs
[14:17:05] <Harry_> i have a doubt regarding the usage of angularjs with mobile frameworks'
[14:17:11] *** rbs- is now known as rbs
[14:17:13] *** krawchyk has joined #angularjs
[14:17:15] *** arizzo has quit IRC
[14:17:21] <Guest46340> asdofindia are you a java guy
[14:17:23] *** jonog has joined #angularjs
[14:17:25] *** ckboii89_ has joined #angularjs
[14:17:47] *** arizzo has joined #angularjs
[14:17:52] <Harry_> i have a doubt regarding the usage of angularjs with mobile frameworks
[14:17:58] *** rockfordal has quit IRC
[14:18:02] *** asdofindia has quit IRC
[14:18:20] *** Guest46340 has quit IRC
[14:18:34] *** asdofindia has joined #angularjs
[14:18:37] *** danizord has joined #angularjs
[14:18:49] <Harry_> Can we use angularjs in titanium and xamarin?
[14:19:37] *** asdofindia has quit IRC
[14:20:07] *** asdofindia has joined #angularjs
[14:20:14] <Harry_> Can we use angularjs in titanium and xamarin?
[14:20:22] *** ckboii89 has quit IRC
[14:20:37] <zbzzn> did you notice you write everything twice?
[14:20:43] *** nihi|ist has joined #angularjs
[14:20:56] <Harry_> well sorry about that
[14:21:13] <Harry_> can anyone clear my doubt? I am new to angularjs
[14:21:18] *** Kallb1234 has joined #angularjs
[14:21:19] *** asdofindia has quit IRC
[14:21:28] *** danielpquinn has joined #angularjs
[14:21:37] <zbzzn> I have no idea about mobile... I write a desktop application
[14:21:51] *** asdofindia has joined #angularjs
[14:21:58] *** arizzo has quit IRC
[14:22:15] *** kl has joined #angularjs
[14:22:40] <ppppaul> i haven't had any of my PRs accepted by the angular team
[14:22:40] <rawry> using angular? :O
[14:22:44] *** foofoobar has quit IRC
[14:22:49] <Harry_> well we are trying to create a mobile app, i want to know whether we can use angularjs with titanium and xamarin and if so how is the performance
[14:22:49] <zbzzn> yes
[14:22:53] *** mdedetrich has joined #angularjs
[14:22:54] *** asdofindia has quit IRC
[14:23:07] *** jonog has quit IRC
[14:23:13] <ppppaul> Harry_, there is a mobile angular project
[14:23:15] <Harry_> by desktop he means browser
[14:23:17] <ppppaul> iconic or something
[14:23:25] *** asdofindia has joined #angularjs
[14:23:28] <Harry_> ya ionic + angular
[14:23:37] <ppppaul> Harry_, you may want to look on stack overflow
[14:23:43] *** jonog has joined #angularjs
[14:23:50] *** bayousoft has joined #angularjs
[14:23:51] <Harry_> well i searched there but of no use
[14:23:55] <ppppaul> i don't know what titanium or xamarin are
[14:24:06] <zbzzn> Like Brackets.io which is a desktop application
[14:24:06] *** quantax- has joined #angularjs
[14:24:08] <ppppaul> Harry_, post a question
[14:24:20] <Harry_> ya sure i will do that
[14:24:25] *** asdofindia has quit IRC
[14:24:27] *** akrikos has joined #angularjs
[14:24:33] *** bmac has joined #angularjs
[14:24:34] *** Kallb123 has quit IRC
[14:24:42] <Harry_> can c# and js go together?
[14:24:48] <ppppaul> yes
[14:24:52] *** kppullin has quit IRC
[14:24:57] *** asdofindia has joined #angularjs
[14:24:58] <ppppaul> JS has compilers in many languages
[14:25:14] <Harry_> well xamarin is fully c#
[14:25:48] <ppppaul> it's common for programs to use a scripting languages that is not the same as the language the main program is written in
[14:25:54] <ppppaul> like JS or lua or python
[14:26:15] <Harry_> ya
[14:26:15] <ppppaul> lua is really popular in some communities (games)
[14:26:18] *** jonog_ has joined #angularjs
[14:26:23] *** danielpquinn has quit IRC
[14:26:29] *** asdofindia has quit IRC
[14:26:35] <Harry_> well thanks for your time guys
[14:26:36] *** jonog has quit IRC
[14:26:44] <ppppaul> if you c# has a browser component, then you are running JS
[14:26:47] <Harry_> better i post it on stackoverflow
[14:26:49] *** kppullin has joined #angularjs
[14:27:00] *** asdofindia has joined #angularjs
[14:27:02] *** Kallb1234 has quit IRC
[14:27:24] *** arizzo has joined #angularjs
[14:28:24] *** Harry_ has quit IRC
[14:28:45] *** Nizumzen has quit IRC
[14:28:45] *** strfcks has quit IRC
[14:28:57] *** avens has quit IRC
[14:29:10] *** asdofindia has quit IRC
[14:29:40] *** asdofindia has joined #angularjs
[14:30:08] *** _jpfm has joined #angularjs
[14:30:12] *** krawchyk has quit IRC
[14:30:34] *** arizzo has quit IRC
[14:30:45] *** asdofindia has quit IRC
[14:30:47] *** arizzo has joined #angularjs
[14:31:03] *** danizord has quit IRC
[14:31:08] *** tfennelly has quit IRC
[14:31:18] *** mguillech has joined #angularjs
[14:31:19] *** asdofindia has joined #angularjs
[14:31:41] *** Milanito has quit IRC
[14:31:54] *** schonert has joined #angularjs
[14:32:21] *** tfennelly has joined #angularjs
[14:33:10] *** danizord has joined #angularjs
[14:34:13] *** storresi has quit IRC
[14:35:05] *** strfcks has joined #angularjs
[14:35:28] *** mdedetrich has quit IRC
[14:36:00] *** krawchyk has joined #angularjs
[14:36:11] *** ChrisC_ has joined #angularjs
[14:37:00] *** tfennelly has quit IRC
[14:37:45] *** teslanick has joined #angularjs
[14:37:51] *** cboden has joined #angularjs
[14:39:40] *** schonert has quit IRC
[14:39:43] *** tfennelly has joined #angularjs
[14:40:02] *** ccohn has joined #angularjs
[14:40:12] *** juampy has quit IRC
[14:41:32] *** meinside has quit IRC
[14:43:15] *** arizzo has quit IRC
[14:43:52] *** klall has joined #angularjs
[14:44:30] *** klall_ has joined #angularjs
[14:44:48] *** mamarilmanson has joined #angularjs
[14:44:50] *** shorne has joined #angularjs
[14:45:28] *** kl has quit IRC
[14:45:55] <gregc2_> Hi all, I have a setup with ionic framework. Im new to angular/ionic. Initally, the .controller for a signin worked, until I changed it to try to post using a ng-click. now regardless of the post coming back a state change does not occour. What am I missing
[14:46:06] *** jpstone has quit IRC
[14:46:19] *** klall_ has left #angularjs
[14:46:26] *** gregc2_ is now known as ioudas
[14:46:38] *** rscata has quit IRC
[14:46:38] *** FIFOd[a] has joined #angularjs
[14:47:09] *** walden|afk is now known as walden
[14:47:10] *** FIFOd[a] has quit IRC
[14:47:32] *** FIFOd[a] has joined #angularjs
[14:47:54] *** AWAW has quit IRC
[14:48:21] *** deepu has joined #angularjs
[14:48:57] *** sneakertack has quit IRC
[14:49:00] *** deepu has left #angularjs
[14:49:04] *** eutheria has quit IRC
[14:49:29] *** krawchyk has quit IRC
[14:49:58] *** cphil has joined #angularjs
[14:49:59] *** thepeculiarform has joined #angularjs
[14:50:04] *** AWAW has joined #angularjs
[14:50:07] *** mccarrontr1ck has joined #angularjs
[14:50:08] *** edrocks has joined #angularjs
[14:50:08] *** drej has joined #angularjs
[14:50:27] *** bbankes has joined #angularjs
[14:50:33] *** drej has joined #angularjs
[14:50:36] *** Idel_ has joined #angularjs
[14:51:34] *** ehynds has joined #angularjs
[14:51:35] *** strfcks has quit IRC
[14:51:43] *** justinobney has joined #angularjs
[14:52:21] *** jeffszusz has joined #angularjs
[14:52:35] *** strfcks has joined #angularjs
[14:52:50] *** mykz_ has quit IRC
[14:54:01] *** evan_e has joined #angularjs
[14:54:26] *** intellix has quit IRC
[14:54:37] *** mykz_ has joined #angularjs
[14:54:37] *** morenoh149 has quit IRC
[14:55:22] *** mamarilmanson has left #angularjs
[14:55:35] *** mamarilmanson has joined #angularjs
[14:55:58] *** DeqiuTseng has joined #angularjs
[14:56:02] *** mamarilmanson2 has joined #angularjs
[14:56:04] *** justinobney has quit IRC
[14:56:17] *** kvnm has joined #angularjs
[14:56:27] <DeqiuTseng> hello
[14:56:36] <DeqiuTseng> every body
[14:56:48] *** mamarilmanson2 has quit IRC
[14:56:49] *** dutis has joined #angularjs
[14:56:52] *** avens has joined #angularjs
[14:57:23] <DeqiuTseng> ????????????????
[14:57:26] <DeqiuTseng> boring
[14:57:40] *** drej_ has joined #angularjs
[14:57:58] *** fedenunez has quit IRC
[14:58:37] *** KurtB has joined #angularjs
[14:58:49] *** roolo has quit IRC
[14:58:50] *** ineedarobot has quit IRC
[14:58:59] *** tommmied has joined #angularjs
[14:59:03] *** bengillies has quit IRC
[14:59:16] *** marr has joined #angularjs
[14:59:18] *** sigurding has quit IRC
[14:59:56] *** bkuberek has joined #angularjs
[15:00:00] *** drej has quit IRC
[15:00:07] *** dariocra_ has quit IRC
[15:00:09] *** drej_ has quit IRC
[15:00:09] *** drej_ has joined #angularjs
[15:00:11] *** drej_ is now known as drej
[15:00:17] *** mamarilmanson has quit IRC
[15:00:17] <DeqiuTseng> 有人吗?
[15:00:19] *** ingshtrom has joined #angularjs
[15:00:25] <teslanick> DeqiuTseng - We aren't here for your amusement.
[15:00:46] *** fedenunez has joined #angularjs
[15:00:52] *** bengillies has joined #angularjs
[15:01:35] <DeqiuTseng> .....
[15:01:37] *** foofoobar has joined #angularjs
[15:02:08] *** klall has left #angularjs
[15:02:18] *** Oxelist_ has quit IRC
[15:02:26] <oniijin> too early for trolls
[15:02:35] *** Tomdarkness has joined #angularjs
[15:02:37] *** klall has joined #angularjs
[15:02:44] *** sdouglas has joined #angularjs
[15:03:06] <zelrik> it s monday morning for 70% of the people here
[15:04:07] <DeqiuTseng> wow
[15:04:12] <DeqiuTseng> really?
[15:04:18] *** bkuberek has quit IRC
[15:04:18] *** anjumkaiser has joined #angularjs
[15:04:23] *** Oxelist has joined #angularjs
[15:04:38] <DeqiuTseng> I don't know that
[15:04:48] <oniijin> ...
[15:05:08] <zelrik> the 30% left are europeans or so
[15:05:19] <zelrik> for them it s monday afternoon
[15:05:26] <zelrik> so they re also busy
[15:05:27] <zelrik> :)
[15:05:32] <oniijin> you're in an english speaking channel, why would you think they're in your time zone?
[15:06:08] <DeqiuTseng> do you have QQ ?
[15:06:25] <oniijin> wtf is that
[15:06:38] <DeqiuTseng> ...
[15:06:48] <DeqiuTseng> where you come from?
[15:06:50] *** imehesz has joined #angularjs
[15:06:52] <sacho> it's a chinese social app
[15:06:54] <DeqiuTseng> USA?
[15:06:58] *** sdouglas has quit IRC
[15:07:13] *** bayousoft has quit IRC
[15:07:21] <oniijin> im done with this convo..i see this getting super irritating
[15:07:22] <avens> QQ is like China's Skype
[15:07:33] <oniijin> that's gross. skype sucks
[15:07:34] <DeqiuTseng> yeah
[15:07:39] <DeqiuTseng> right
[15:07:51] *** jillesme has joined #angularjs
[15:07:55] *** xaxisx has joined #angularjs
[15:08:01] <oniijin> if you have a question ask it
[15:08:08] *** xaxisx has quit IRC
[15:08:47] *** jpstone- has quit IRC
[15:09:04] *** edrocks has quit IRC
[15:09:13] *** darrin has joined #angularjs
[15:09:28] <DeqiuTseng> I come from China, I recently learning AngularJS
[15:09:29] *** xaxisx has joined #angularjs
[15:09:40] *** bayousoft has joined #angularjs
[15:09:47] <oniijin> still not seeing a question
[15:09:52] *** eutheria has joined #angularjs
[15:10:38] <DeqiuTseng> my english is not so good
[15:11:19] *** maurycyg has quit IRC
[15:11:27] <DeqiuTseng> so i cant express my question by english
[15:11:31] *** jpstone has joined #angularjs
[15:11:51] *** Schtive has joined #angularjs
[15:11:59] <oniijin> you're going to be SOL then dood
[15:12:12] *** mary5030 has joined #angularjs
[15:12:27] <DeqiuTseng> I want to go to school or for a period of time to discuss it again
[15:12:28] *** Sengoku has joined #angularjs
[15:12:35] *** teslanick has quit IRC
[15:12:50] *** jtimon has joined #angularjs
[15:12:52] *** teslanick has joined #angularjs
[15:12:58] *** DeqiuTseng has left #angularjs
[15:13:08] *** roolo has joined #angularjs
[15:13:21] <oniijin> that was productive
[15:14:01] *** edrocks has joined #angularjs
[15:14:23] *** mary5030 has quit IRC
[15:14:37] <jillesme> Well
[15:15:00] *** mary5030 has joined #angularjs
[15:15:02] *** kayloos has joined #angularjs
[15:15:34] *** fedenunez has quit IRC
[15:15:39] *** thepeculiarform has quit IRC
[15:15:43] *** Schtive has quit IRC
[15:16:01] *** jillesme has quit IRC
[15:16:03] *** anjumkaiser has quit IRC
[15:16:08] *** teslanick has quit IRC
[15:16:11] *** JesseEichar_ has quit IRC
[15:16:25] *** ecantin has joined #angularjs
[15:16:34] *** Sengoku has quit IRC
[15:16:38] *** corban has quit IRC
[15:16:44] *** Tidwell has joined #angularjs
[15:17:08] *** bayousoft has quit IRC
[15:17:51] *** hswolff has quit IRC
[15:18:00] *** Tomdarkness has quit IRC
[15:18:00] <house> DeqiuTseng gave up too easily.
[15:18:25] <marcospgp> duolingo
[15:18:33] <marcospgp> they have an english course for chinese speakers
[15:18:39] *** dariocravero has joined #angularjs
[15:18:54] <oniijin> i wonder if his question is, how do I get angular to work on IE6
[15:18:57] *** lw has joined #angularjs
[15:19:09] <house> likely.
[15:19:23] *** krawchyk has joined #angularjs
[15:19:56] *** pkozlowski_os has joined #angularjs
[15:20:04] *** quantax- has quit IRC
[15:20:07] *** kayloos has quit IRC
[15:20:19] *** nemothekid has joined #angularjs
[15:20:42] <oniijin> huh, new market stats better than I thought
[15:20:47] <oniijin> only 26% on IE6 in china lolol
[15:21:15] *** roymilde_ has joined #angularjs
[15:21:18] <house> :)
[15:21:38] <oniijin> i thought it was like 92%
[15:21:54] *** gnrlbzik has joined #angularjs
[15:22:01] *** Efrem has joined #angularjs
[15:22:02] *** mtho11 has joined #angularjs
[15:22:15] *** danielpquinn has joined #angularjs
[15:22:22] *** fno has joined #angularjs
[15:22:40] *** bmcgee has joined #angularjs
[15:23:27] *** jdowdle has joined #angularjs
[15:23:34] *** roymilder has quit IRC
[15:23:50] *** jeffszusz has quit IRC
[15:24:02] *** mc__ has joined #angularjs
[15:25:00] *** francisl has joined #angularjs
[15:25:36] *** stodan has quit IRC
[15:25:39] *** jeffszusz has joined #angularjs
[15:25:56] *** FunnyLookinHat has quit IRC
[15:26:05] *** cbeacock has joined #angularjs
[15:26:18] *** gnrlbzik has quit IRC
[15:26:27] *** kcjones has joined #angularjs
[15:26:31] *** mac_ified has joined #angularjs
[15:26:38] *** danielpquinn has quit IRC
[15:26:59] *** kcjones has quit IRC
[15:26:59] *** maurycyg has joined #angularjs
[15:27:18] *** pluma has quit IRC
[15:27:19] *** thepeculiarform has joined #angularjs
[15:27:35] *** maurycyg has left #angularjs
[15:28:02] *** the-erm has joined #angularjs
[15:28:30] *** kcjones has joined #angularjs
[15:29:01] *** greengriminal has quit IRC
[15:29:09] *** tomzx is now known as tomzx`afk
[15:29:39] *** greengriminal has joined #angularjs
[15:29:58] *** bmcgee has quit IRC
[15:30:31] *** greengriminal has quit IRC
[15:31:11] *** Fishy has joined #angularjs
[15:31:51] *** cphil has quit IRC
[15:32:56] *** dariocravero has quit IRC
[15:33:03] *** kcjones has quit IRC
[15:33:18] *** Tidwell has quit IRC
[15:33:48] *** kcjones has joined #angularjs
[15:35:49] *** combat has joined #angularjs
[15:37:29] <fwielstra> I’m sure China’s pushing towards something like Red Flag Browser
[15:37:32] *** corban has joined #angularjs
[15:37:37] *** mogaj has quit IRC
[15:38:26] *** ioudas has quit IRC
[15:38:30] <zumba_addict> morning folks, what would be a good interview exercise for an applicant applying for a job that requires AngularJS skils?
[15:38:37] *** cphil has joined #angularjs
[15:38:44] *** Tomdarkness has joined #angularjs
[15:39:12] <zumba_addict> We give them 2 hours
[15:39:15] *** jbourassa has joined #angularjs
[15:39:40] *** edrocks has quit IRC
[15:41:10] <klall> How about a small app using the Yeoman angular generator? You can ask them to add additional routes, add a basic directive, controller, etc. But I think something like that could be useful for a 2 hour interview to see how far they get along.
[15:41:54] <TweedleDee> ... if you knew what you were doing, that should take like 20 mins..
[15:41:57] *** aesinv`w has quit IRC
[15:42:13] *** pluma has joined #angularjs
[15:42:29] <zumba_addict> that's great klall
[15:42:54] *** intellix has joined #angularjs
[15:42:57] *** foofoobar has quit IRC
[15:43:01] *** Tomdarkness has quit IRC
[15:43:10] <zumba_addict> I'll add factory too
[15:43:16] <klall> Possibly, depending on how big the app you would like to create. Another option is for smaller examples of directives, controllers, etc. using jsbin.
[15:43:18] *** spaceonline has quit IRC
[15:43:29] <oniijin> ew
[15:43:34] <zumba_addict> yup
[15:43:45] *** dcherman has joined #angularjs
[15:44:13] *** jpstone has quit IRC
[15:44:48] *** sneakertack has joined #angularjs
[15:45:01] *** Oxelist has quit IRC
[15:45:08] *** tokka_ has quit IRC
[15:45:09] <orion1111> Why typing into this doesn't update rootscope's pageTitle variable? <input type="text" ng-model="pageTitle">
[15:45:19] *** nicholaswyoung has joined #angularjs
[15:45:33] *** Tidwell has joined #angularjs
[15:46:04] <orion1111> btw I use this variable like this: <title ng-bind="pageTitle"></title>
[15:46:41] *** Vladi has joined #angularjs
[15:46:49] *** jeffszusz has quit IRC
[15:46:56] <orion1111> When I run page, the input field is filled with pageTitle variable content, but typing into it doesn't make any changes to my <title...
[15:47:09] *** greengriminal has joined #angularjs
[15:47:16] <Vladi> Hi
[15:47:19] <oniijin> scopes dood
[15:47:24] <zumba_addict> orion1111: plunkr it
[15:47:35] *** metasansana has joined #angularjs
[15:47:35] *** metasansana has joined #angularjs
[15:47:37] <Vladi> Please help me with express html5mode
[15:47:39] <Vladi> please
[15:47:42] *** motionman has quit IRC
[15:47:43] <Vladi> anyone
[15:47:58] <Vladi> I can show you my github
[15:48:06] *** jeffszusz has joined #angularjs
[15:48:08] <Vladi> and my website to test
[15:48:09] *** itsananderson_ has joined #angularjs
[15:48:11] <zumba_addict> why are you so much in a rush Vladi?
[15:48:24] *** edrocks has joined #angularjs
[15:48:37] *** ngoyal has joined #angularjs
[15:48:42] <zumba_addict> remember, the guys here who are helping us aren't paid
[15:48:50] <Vladi> I have to give back project tommorow and this bug is annoying me
[15:49:07] <quan__> hes in a high stakes coding situation involving a ticking time bomb
[15:49:37] *** tokka has joined #angularjs
[15:49:46] *** sneakert1ck has joined #angularjs
[15:49:50] *** kreeves has joined #angularjs
[15:49:50] *** kreeves has joined #angularjs
[15:49:58] <Vladi> my android app works in sync with website and I dont know how to solve one problem
[15:50:29] <fno> please formulate a more strucutred question and please plunkr an example of the problem
[15:50:33] *** sneakertack has quit IRC
[15:50:35] <zumba_addict> just post the links and someone might jump on it
[15:50:36] <fno> otherwise its hard to help you
[15:50:41] <oniijin> quick everyone drop your jobs and do my job for me
[15:50:47] <zumba_addict> :D
[15:50:50] <oniijin> gotta get it done so I can get paid
[15:50:54] *** jshultz has joined #angularjs
[15:51:00] <Vladi> this is website: oharapub.kz
[15:51:01] *** H1FuelCell has quit IRC
[15:51:04] *** cacts|works has joined #angularjs
[15:51:10] *** shackleford has joined #angularjs
[15:51:15] <zumba_addict> Vladi: you familiar with plunker?
[15:51:17] <fno> please use plnkr.co to write an example
[15:51:27] <Vladi> https://github.com/vladimir050486/ohara_website
[15:51:33] <zumba_addict> Vladi: we will not debug your code
[15:51:33] *** blakef has quit IRC
[15:51:34] *** sk87 has quit IRC
[15:51:58] *** BillCriswell has joined #angularjs
[15:52:00] <Vladi> but in plunker how can I fit my server side code?
[15:52:11] *** itsananderson has quit IRC
[15:52:11] <zumba_addict> we will help if you put it in plunker if we know how to fix it
[15:52:15] <fno> we cant help you to debug your server
[15:52:28] *** justinobney has joined #angularjs
[15:52:31] <Vladi> I dont need you to debug it
[15:52:37] *** hswolff has joined #angularjs
[15:52:38] *** strfcks has quit IRC
[15:52:40] <zumba_addict> Vladi: you don't put the whole code. What you put is the issue, try to simulate it
[15:52:48] *** Oxelist has joined #angularjs
[15:52:56] *** asdf has joined #angularjs
[15:53:05] <oniijin> fno he just wants you to fix his (unspecified) problem duh
[15:53:13] <zumba_addict> yup
[15:53:46] *** Destos has joined #angularjs
[15:53:47] <Vladi> the problem is that when I writing link in the browser like this http://oharapub.kz/menu/food
[15:54:02] <Vladi> It breaks down everithing
[15:54:05] *** bweston has joined #angularjs
[15:54:08] *** gnrlbzik has joined #angularjs
[15:54:14] *** dariocravero has joined #angularjs
[15:54:17] <Vladi> But when I walk through the links it works
[15:54:52] <fwielstra> ah, you’ll need to install a rewrite rule on your server
[15:54:52] *** shackleford has quit IRC
[15:55:16] <fwielstra> here’s a few resources (courtesy of google):
[15:55:17] <fwielstra> http://ericduran.io/2013/05/31/angular-html5Mode-with-yeoman/
[15:55:18] *** shackleford has joined #angularjs
[15:55:20] <Vladi> the link http://oharapub.kz/menu works anyway direct linking or walking through
[15:55:25] <fwielstra> https://github.com/bdunklau/LittleBlueBird/wiki/URL-Rewriting-and-HTML5-in-AngularJS
[15:55:34] <fwielstra> etc
[15:55:43] *** cacts|works has quit IRC
[15:55:51] <fwielstra> is /menu the root page of your application?
[15:55:51] <Vladi> thanks
[15:55:53] *** Sky[x] has quit IRC
[15:55:54] <fwielstra> np
[15:56:00] *** sneakert1ck has quit IRC
[15:56:01] <mc__> Hi Vladi, is easy... check your paths...
[15:56:21] <mc__> your js is being loaded from here http://oharapub.kz/menu/lib/lightbox/js/lightbox.min.js
[15:56:40] *** sneakertack has joined #angularjs
[15:56:56] *** justinobney has quit IRC
[15:57:05] *** Trow has joined #angularjs
[15:57:12] *** smoke has joined #angularjs
[15:57:19] <Vladi> will try
[15:57:25] <Vladi> thanks
[15:57:40] *** mary5030 has quit IRC
[15:58:04] *** tpyo has joined #angularjs
[15:58:04] *** mercwithamouth has joined #angularjs
[15:58:16] *** shinnya has joined #angularjs
[15:58:31] *** Sengoku has joined #angularjs
[15:58:36] *** tpyo has quit IRC
[15:58:38] *** mc__ has quit IRC
[15:58:43] *** thepeculiarform has quit IRC
[15:59:04] *** azizur has quit IRC
[15:59:30] *** cacts|works has joined #angularjs
[15:59:45] <orion1111> I found solution here: http://stackoverflow.com/questions/15305900/angularjs-ng-model-input-type-number-to-rootscope-not-updating
[15:59:55] *** juampy has joined #angularjs
[16:00:08] <oniijin> and that's exactly what I said
[16:00:35] *** mc___ has joined #angularjs
[16:00:37] <orion1111> don't know what exactly is prototypical inheritance problem
[16:00:41] *** bkuberek has joined #angularjs
[16:00:46] <oniijin> time to go google and learn some basics
[16:00:50] <Sengoku> What's up with my attributes not show up in my directive
[16:01:03] *** naneau has joined #angularjs
[16:01:36] *** jpstone has joined #angularjs
[16:01:42] <fwielstra> are you using dashes in the html and camelCase inside your directive? Do a console.log on attrs
[16:02:04] <Sengoku> fwielstra: my attribute is called "text"
[16:02:06] *** dwayne has quit IRC
[16:02:13] <Sengoku> fwielstra: also it works in some partials, and not others
[16:02:28] <fwielstra> might be that’s reserved somehow. But you should still be able to read it in your directive.
[16:02:28] *** yoshokatana has joined #angularjs
[16:02:48] *** mykz_ has quit IRC
[16:02:49] *** tylerlh has joined #angularjs
[16:02:59] <Sengoku> fwielstra: in one partial, it just works. Let me post my directive
[16:03:34] *** carif has joined #angularjs
[16:04:37] *** raibutera has joined #angularjs
[16:04:43] *** jrist has joined #angularjs
[16:05:11] *** cthrax has joined #angularjs
[16:05:35] *** conner_ has joined #angularjs
[16:05:45] <pdillinger1> hi, need help with this: in my app i have lot of different state(ui-view), in one of them i have slider with audio tag. But when i switch to another state my audio still playing and i think jQ slider working too. Please help me with this issue. I need to destroy jSlider and audio tag and create new when i change the state to gallery(for example). Now i use $scope.$on('$destroy', setSrc) to stop plaing
[16:05:48] <pdillinger1> audio but with slider i don't know how handle.
[16:05:56] *** tylerlh has quit IRC
[16:06:00] *** bkuberek has quit IRC
[16:06:03] <Sengoku> pdillinger1: http://pastebin.com/pjWnXetQ
[16:06:10] <pdillinger1> one min
[16:06:26] *** MTGap has joined #angularjs
[16:06:47] *** Schtive has joined #angularjs
[16:07:01] <Sengoku> appreciate your help man, this has been owning me for a while
[16:07:02] *** encryptd_fractl has joined #angularjs
[16:07:24] <yoshokatana> morning angularinos
[16:08:43] *** siddart has quit IRC
[16:09:04] *** hugofirth has joined #angularjs
[16:09:11] *** sk87 has joined #angularjs
[16:09:37] *** orion1111 has quit IRC
[16:09:44] *** amedia has joined #angularjs
[16:09:49] *** _jpfm has quit IRC
[16:10:06] <rawry> greetings. almost evening here though
[16:10:10] <amedia> hello, is it possible to define a route parameter, to only allow an integer?
[16:10:21] <amedia> i have routes like /test/1, and /test/add
[16:10:34] *** H1FuelCell has joined #angularjs
[16:10:36] <amedia> and they need different views
[16:10:44] *** dwayne has joined #angularjs
[16:10:45] <milka> is there a generally accepted aproach on how to handle different permissions? (user can edit the given page -> display an edit button, can administer a page -> display something appropriate...)
[16:10:59] *** ineedarobot has joined #angularjs
[16:11:02] *** Milanito has joined #angularjs
[16:11:16] <rawry> amedia: you can you regex in a route definition
[16:11:18] <edrocks> anyone using webpack here?
[16:11:22] *** bsmithgall has joined #angularjs
[16:11:28] *** Snugug has joined #angularjs
[16:11:33] *** teslanick has joined #angularjs
[16:11:33] *** k-dawg has quit IRC
[16:12:00] <oniijin> https://github.com/angular-ui/ui-router/wiki/URL-Routing assuming you're using uirouter
[16:12:07] *** lsiv568 has quit IRC
[16:12:11] *** siddart has joined #angularjs
[16:12:42] <jpstone> is angular 2.0 going to be awesome?
[16:12:44] <jpstone> :D
[16:12:44] <rawry> http://www.frederiknakstad.com/2013/01/21/authentication-in-single-page-applications-with-angular-js/ is way to manage your permissions
[16:13:12] <rawry> milka: that link above is for you
[16:13:18] *** mercwithamouth has quit IRC
[16:13:18] *** azizur has joined #angularjs
[16:13:28] <oniijin> authentication !== authorization
[16:13:47] <milka> rawry: thank you, ill read it
[16:13:51] *** Sna4x8 has quit IRC
[16:13:52] *** TorchDragon has joined #angularjs
[16:14:20] *** Trow1 has joined #angularjs
[16:14:22] *** mercwithamouth has joined #angularjs
[16:14:32] *** Sna4x8 has joined #angularjs
[16:14:47] *** bweston has quit IRC
[16:14:52] *** bayousoft has joined #angularjs
[16:15:08] *** joshbrw has joined #angularjs
[16:15:24] *** mamarilmanson has joined #angularjs
[16:15:36] *** bbankes has quit IRC
[16:16:09] *** mamarilmanson has quit IRC
[16:16:18] *** morenoh149 has joined #angularjs
[16:17:18] *** sigurding has joined #angularjs
[16:17:23] *** Trow has quit IRC
[16:17:23] <pdillinger1> Sengoku: thanks I understood about isolated scope but don't understand how to figure out with jquery plugin
[16:17:27] *** thepeculiarform has joined #angularjs
[16:18:07] *** gauravsaini03 has quit IRC
[16:18:29] *** TorchDragon has quit IRC
[16:19:56] *** GeertV_ has quit IRC
[16:20:04] *** xaxisx has quit IRC
[16:20:08] *** mary5030 has joined #angularjs
[16:20:09] *** Tomdarkness has joined #angularjs
[16:20:30] *** GeertV_ has joined #angularjs
[16:21:04] *** xaxisx has joined #angularjs
[16:21:29] *** GeertV_ has joined #angularjs
[16:22:25] *** sk87 has quit IRC
[16:22:36] *** kvnm has quit IRC
[16:22:58] *** danielpquinn has joined #angularjs
[16:23:15] *** FunnyLookinHat has joined #angularjs
[16:23:57] *** Siecje has joined #angularjs
[16:24:54] *** sk87 has joined #angularjs
[16:25:24] *** Dragory has quit IRC
[16:25:42] *** Cavallari has joined #angularjs
[16:25:52] *** mercwithamouth has quit IRC
[16:25:53] *** azizur has quit IRC
[16:26:01] *** mmone has joined #angularjs
[16:26:43] *** Ir1sh has quit IRC
[16:26:48] *** joshbrw has quit IRC
[16:27:14] *** mmone has left #angularjs
[16:27:20] *** mmitchell has joined #angularjs
[16:27:35] *** danielpquinn has quit IRC
[16:27:44] *** shorne has quit IRC
[16:27:49] *** hugofirth has quit IRC
[16:27:59] *** nemothekid has quit IRC
[16:28:05] *** blakef has joined #angularjs
[16:28:32] *** lordkryss has quit IRC
[16:29:25] *** fedenunez has joined #angularjs
[16:29:42] *** francisl has quit IRC
[16:29:48] *** nicholaswyoung has quit IRC
[16:29:48] *** mmone has joined #angularjs
[16:30:25] <mmone> Hi everyone. How can i select only one item from an array by index.
[16:30:30] *** Milanito has quit IRC
[16:30:46] *** mattt_ has joined #angularjs
[16:30:50] *** Fire-Dragon-DoL has joined #angularjs
[16:30:56] <sneakertack> array[i]?
[16:30:59] *** ustunozgur has joined #angularjs
[16:31:09] <oniijin> ...
[16:31:17] *** m___ has joined #angularjs
[16:31:20] *** lordkryss has joined #angularjs
[16:31:29] <mmone> sneakerattack: in the html
[16:31:42] *** Sky[x] has joined #angularjs
[16:31:50] <amedia> how can i redirect in angular?
[16:32:06] *** shorne has joined #angularjs
[16:32:09] <amedia> in config, i try $urlRouterProvider.when('/repairs/add', '/repairs/add/customer'); but it doesnt work
[16:32:13] <mmone> sneakerattack; filter seems to be only able to filter by key values
[16:32:40] *** m___ has quit IRC
[16:32:47] <sneakertack> mmonne: do you have an example of what you're trying to do
[16:32:57] *** mary5030 has quit IRC
[16:32:57] <sneakertack> in a pastebin/gist/fiddle
[16:33:15] *** mven_ has quit IRC
[16:33:33] *** mary5030 has joined #angularjs
[16:33:38] *** dutis has quit IRC
[16:33:38] *** orion1111 has joined #angularjs
[16:33:43] *** the_fog has quit IRC
[16:34:20] *** dutis has joined #angularjs
[16:35:20] *** cctom_ has quit IRC
[16:35:29] *** terrid has joined #angularjs
[16:35:31] *** apetro_ has joined #angularjs
[16:35:36] *** mattp_ has joined #angularjs
[16:35:38] <terrid> Hi all
[16:35:52] <mattp_> is there any way to make protractor pause? I can't for the life of me get it to leave the selenium/browser window open
[16:35:54] *** aron_ has joined #angularjs
[16:35:56] *** Dragory has joined #angularjs
[16:37:24] *** francisl has joined #angularjs
[16:37:32] *** mennea has quit IRC
[16:37:42] <terrid> does anyone use any benchmarking tools when developing AngularJS apps?
[16:38:13] *** Sky[x] has quit IRC
[16:38:27] *** Milanito has joined #angularjs
[16:39:25] *** H1FuelCell has quit IRC
[16:39:28] <aron_> hi all, what does a question mark in the require option of a directive do? eg: `require: "?foo"`
[16:40:05] <aron_> I can see that a caret (^) tells it to search parents for a controller
[16:40:08] *** Milanito has quit IRC
[16:40:11] <rawry> that means it's optional
[16:40:18] *** ustunozgur has quit IRC
[16:40:22] <aron_> rawry: ah, great thank you
[16:40:43] *** cigarshark has joined #angularjs
[16:41:23] *** mattt_ has quit IRC
[16:41:29] *** GeertV_ has quit IRC
[16:42:01] *** GeertV_ has joined #angularjs
[16:42:11] *** greengriminal has quit IRC
[16:42:26] *** isthisreallife has joined #angularjs
[16:42:42] *** isthisreallife has left #angularjs
[16:42:44] *** Idel_ has quit IRC
[16:42:53] *** orion1111 has quit IRC
[16:44:45] *** fedenunez has quit IRC
[16:45:05] <Ownix> I get: "[$injector:nomod] Module 'favoriteApp' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
[16:45:32] <Ownix> html: <form ng-app="favoriteApp"> scripts: var favoriteApp = angular.module('favoriteApp', []);
[16:45:38] <Ownix> What is happening?
[16:45:54] <Siecje> Is it possible to have a placeholder for a select?
[16:46:03] *** GeertV_ has quit IRC
[16:46:27] *** digia|away is now known as digia
[16:46:32] *** dman777_alter has joined #angularjs
[16:46:39] *** sdouglas has joined #angularjs
[16:46:40] <dman777_alter> can you use react with angular.js?
[16:46:47] *** ustunozgur has joined #angularjs
[16:47:22] *** fedenunez has joined #angularjs
[16:47:28] <sacho> Siecje, you can place a disabled option that is initially selected.
[16:47:35] *** squeakytoy has quit IRC
[16:47:48] *** snapwich has joined #angularjs
[16:48:07] *** aron_ has left #angularjs
[16:48:24] *** rho has joined #angularjs
[16:48:37] <sacho> for newer browsers, you could use an option with a default attribute
[16:49:02] <Sna4x8> Ownix: The error is accurate. Something may be wrong with how the script responsible for defining favoriteApp is loaded, or there may be a typo in there. Make a plunk!
[16:49:28] <sacho> hmm.
[16:50:16] *** roymilde_ has quit IRC
[16:50:41] *** lordkryss has quit IRC
[16:50:58] *** azizur has joined #angularjs
[16:50:59] <Ownix> Sna4x8: its probably the fact that im using ASP.NET MVC and rendering this in a partial. I am guessing the script doesnt run or does run before or after the HTML? If Icomment out the angular code the error is still there, so its as if the script isnt getting called
[16:51:40] *** lordkryss has joined #angularjs
[16:51:43] *** fedenunez1 has joined #angularjs
[16:51:46] <sacho> scratch the default attribute thing.
[16:51:53] *** roymilder has joined #angularjs
[16:51:55] *** fedenunez has quit IRC
[16:52:39] <Ownix> I guess im confused, it sounds like ng-app runs before my script, and thats why it doesnt see I have defined it as a module
[16:52:41] *** Click66 has quit IRC
[16:53:04] *** justinobney has joined #angularjs
[16:53:23] *** Serdar has quit IRC
[16:54:02] <Sna4x8> Ownix: Huh. I haven't ever tried load scripts from partials (doesn't seem like the best idea to me). You may need to manually bootstrap the module in that case.
[16:54:29] *** nicholaswyoung has joined #angularjs
[16:54:35] *** thedodd has joined #angularjs
[16:54:37] <Sna4x8> Ownix: Take a look at this and see if it helps: https://docs.angularjs.org/guide/bootstrap
[16:54:46] *** Aerospark has joined #angularjs
[16:55:02] *** raines has quit IRC
[16:55:05] *** arrty has joined #angularjs
[16:55:09] <Sna4x8> In particular, the Manual Initialization section.
[16:55:10] *** arrty has quit IRC
[16:55:17] *** arrty has joined #angularjs
[16:55:19] *** ericduran is now known as ericduran-brb
[16:55:20] *** caitp has joined #angularjs
[16:56:11] *** amortimer has joined #angularjs
[16:56:39] <Ownix> Yeah I read through that. "Angular initializes automatically upon DOMContentLoaded event or when the angular.js script is evaluated "
[16:56:40] *** Dragory has quit IRC
[16:56:58] *** josip_ has joined #angularjs
[16:56:59] *** edrocks has quit IRC
[16:57:00] *** hugofirth has joined #angularjs
[16:57:04] *** cctom_ has joined #angularjs
[16:57:07] *** anderskristo has quit IRC
[16:57:12] <josip_> hey ppls
[16:57:18] *** justinobney has quit IRC
[16:57:34] <josip_> i'm trying to add markers to my google map
[16:57:37] <Sna4x8> Ownix: Right, but since you're loading from a partial the DOM is ready before the partial is loaded.
[16:57:50] <josip_> google map place is dynamically loaded from input field
[16:57:51] *** Fishy__ has joined #angularjs
[16:57:58] <josip_> but i cant seem to get my marker working on that place
[16:57:59] *** teplica has joined #angularjs
[16:58:04] <Sna4x8> Ownix: So after the partial is loaded you'll need to bootstrap, as laid out in the Manual Initialization section. (AFAIK)
[16:58:27] <Ownix> darn.
[16:58:34] *** ustunozgur has quit IRC
[16:58:46] <Sna4x8> Ownix: I might be incorrect here, but just trying to help. It's a place to start!
[16:58:54] <josip_> <marker coords="{latitude:0, longitude:0}"> </marker>
[16:58:55] <Ownix> No its the only thing that makes sense
[16:59:08] <Ownix> And im sure bootstrapping will work but it complicates the design
[16:59:09] <josip_> <google-map ng-model="map" center="map.center" zoom="map.zoom" <marker coords="{latitude:0, longitude:0}"> </marker> />
[16:59:15] *** mercwithamouth has joined #angularjs
[16:59:18] <josip_> i'm just testing it out on 0,0 coordinates
[16:59:24] <josip_> but it isnt working this way
[16:59:34] <josip_> my map is set on 0,0 by default
[16:59:47] *** apetro__ has joined #angularjs
[16:59:48] <josip_> can anyone help me?
[16:59:58] *** Aerospark has quit IRC
[17:00:32] *** apetro___ has joined #angularjs
[17:00:35] *** VeeWee has quit IRC
[17:00:41] *** nerdfiles has joined #angularjs
[17:01:02] *** Cavallari has quit IRC
[17:01:17] *** avens_ has joined #angularjs
[17:01:47] *** Fishy has quit IRC
[17:02:04] *** pdillinger1 has quit IRC
[17:02:11] *** Ir1sh has joined #angularjs
[17:02:38] *** lordkryss has quit IRC
[17:03:00] *** apetro_ has quit IRC
[17:03:18] *** morenoh149 has quit IRC
[17:03:32] *** lsiv568 has joined #angularjs
[17:03:37] *** ustunozgur has joined #angularjs
[17:03:38] <josip_> hey, can anyone help me with marker thing
[17:03:49] *** avens has quit IRC
[17:03:58] *** apetro__ has quit IRC
[17:04:06] *** lordkryss has joined #angularjs
[17:04:58] *** Oxelist has quit IRC
[17:05:53] *** DoniRS has quit IRC
[17:06:02] *** H1FuelCell has joined #angularjs
[17:06:04] *** JesseEichar_ has joined #angularjs
[17:06:22] *** dawhite has joined #angularjs
[17:06:35] *** sacho has quit IRC
[17:06:53] *** Shrooms has joined #angularjs
[17:07:18] *** edrocks has joined #angularjs
[17:07:32] *** AndyFTP has quit IRC
[17:07:53] <edrocks> how do you remove the ngdebug cookie?
[17:08:24] *** sdouglas has quit IRC
[17:08:48] *** spazbite has quit IRC
[17:09:29] *** stickperson has joined #angularjs
[17:10:00] *** randomGuy24 has joined #angularjs
[17:10:41] *** Tidwell has quit IRC
[17:11:14] *** smoke has quit IRC
[17:12:17] *** Limix has joined #angularjs
[17:12:25] *** jbourassa has quit IRC
[17:12:35] *** H1FuelCell has quit IRC
[17:13:20] *** Tidwell has joined #angularjs
[17:13:34] *** jbourassa has joined #angularjs
[17:14:44] *** _jpfm has joined #angularjs
[17:15:17] *** ineedarobot has quit IRC
[17:15:22] *** mtsr has quit IRC
[17:15:29] *** mtsr_ has joined #angularjs
[17:15:34] *** CHC has joined #angularjs
[17:15:51] *** hugorodrigues has joined #angularjs
[17:15:55] <mmone> Hi everyone let me ask again with a explaining pastebin http://pastebin.com/W5iPvMSn. How can I select an item from an array by index into the scope in a html template? "ng-repeat | filter" seems to be unable to do this.
[17:16:03] *** kayloos has joined #angularjs
[17:16:44] *** carif has quit IRC
[17:17:00] *** Dragory has joined #angularjs
[17:17:26] *** lordkryss has quit IRC
[17:17:29] *** peey has joined #angularjs
[17:17:56] *** tk has joined #angularjs
[17:18:24] *** lordkryss has joined #angularjs
[17:19:09] *** Nek has joined #angularjs
[17:19:32] *** illume has quit IRC
[17:19:37] *** sacho has joined #angularjs
[17:19:54] <Ownix> Sna4x8: the issue was in ASP.NET MVC you cant use scripts in your partial. But you can use them in the page that calls the partial so I did that and now everything seems to work.
[17:20:05] <CaShY> tags.[index]
[17:20:14] *** mettjus has joined #angularjs
[17:20:26] <Ownix> I have a new question now though, is there a way to call something in my controller from outside of Angular?
[17:20:28] *** shinnya has quit IRC
[17:20:32] <Sna4x8> Ownix: Cool, glad you figured that out!
[17:20:49] *** kayloos has quit IRC
[17:20:51] <CHC> what do you guys think of this? http://imgur.com/2NhcQca every time I try to use this array it becomes empty, if i'm sending it directly, or try to stringify it
[17:21:02] <Ownix> Say I was to call a controller method liek UpdateFavorites() from some other javascript function
[17:21:17] *** hugorodrigues has quit IRC
[17:21:45] <mmone> CaShY: how would that expression be written out something like <div ng-repeat=tags[index]> </div> ??
[17:21:49] <Sna4x8> Ownix: Hmm, no, I don't think so. Usually the code that is outside of the controller gets wrapped in a factory or something.
[17:22:18] <CaShY> if you just wanted to use a single item in the tags array, you'd just do {{tags.[2].name}}
[17:22:31] <CaShY> i may have miss understood what your problem was/is
[17:22:34] *** xaxisx has quit IRC
[17:22:37] *** josip_ has quit IRC
[17:22:44] *** stormpat has quit IRC
[17:22:50] <Ownix> Yeah I guess id need to do something crazy if I wanted it to update automatically
[17:23:12] <peey> wafflejock: keeping yours and Stephan's advice in mind from yesterday, I came up with this : http://jsbin.com/puguboru/7/edit . Its basically the same directive as yesterday, but instead of watching parent's width directly, it watches a scope variable which gets updated only on resize events. Any thoughts on possible performance issues?
[17:23:17] <CaShY> mmone: if not you'd need to write a custom filter
[17:23:27] *** xaxisx has joined #angularjs
[17:23:45] *** illume has joined #angularjs
[17:23:48] <mvovchak> Hey, I'm pretty new to angular, trying to decide if I should convert some elements to directives. I have this data list that repeats in different view. It looks like that : https://gist.github.com/mvovchak/b8c1c4cbf2670290799d. Would it make sense to convert this to a directive for code reuse, and if so, how do I approach it
[17:23:48] *** danielpquinn has joined #angularjs
[17:23:54] *** icfantv has joined #angularjs
[17:23:58] *** conan_the_destro has joined #angularjs
[17:24:04] <mmone> CaShy: so there is no way to say someting like <div ng-select="tags[index]> to make tag the local scope?
[17:24:22] <Ownix> Sna4x8: actually.... http://stackoverflow.com/questions/15424910/angularjs-access-scope-from-outside-js-function
[17:24:48] *** fwielstra has quit IRC
[17:25:41] *** squeakytoy has joined #angularjs
[17:26:21] *** bbankes has joined #angularjs
[17:26:46] *** hugorodrigues has joined #angularjs
[17:27:08] *** Aliks has quit IRC
[17:27:10] <Sna4x8> Huh. It's getting hacky in here =)
[17:27:13] *** mykz_ has joined #angularjs
[17:27:26] *** xavia has joined #angularjs
[17:27:29] *** squeakytoy has quit IRC
[17:27:34] *** ineedarobot has joined #angularjs
[17:27:44] <mettjus> hi all! can anybody pleaze give a look at this (http://plnkr.co/edit/s8s5ucQOd8mRK96bolsS?p=preview) and tell me why the variables get overridden from one directive instance to the other..
[17:27:50] *** squeakytoy has joined #angularjs
[17:27:58] <mmone> CaShy: or better <div ng-select="getTag(index)">
[17:28:06] <mettjus> and what i actually should do differently..
[17:28:13] *** danielpquinn has quit IRC
[17:28:19] <Ownix> Sna4x8: is that good or bad :o
[17:28:22] *** kalusn has joined #angularjs
[17:28:24] <Ownix> hacky that is
[17:28:39] <CaShY> sorry mmone not 100% sure what your trying to achieve, i've got to go
[17:28:49] *** bengilli_ has joined #angularjs
[17:28:51] *** Fishy__ is now known as Fishy
[17:29:03] *** AlSquire has joined #angularjs
[17:29:21] *** ngbot has joined #angularjs
[17:29:22] <ngbot> [angular.js] matsko pushed 1 new commit to master: http://git.io/tLaeRA
[17:29:22] <ngbot> angular.js/master 071cbdb standup75: docs(ngAnimate): ensure the CSS breakdown example uses a compound selector
[17:29:22] *** ngbot has left #angularjs
[17:29:23] *** bengillies has quit IRC
[17:30:55] *** carif has joined #angularjs
[17:31:02] *** dylukes has joined #angularjs
[17:31:14] <Petazz> How can I enable cross origin $resources?
[17:31:44] <Sna4x8> Ownix: Dunno, it's your app. I tend to keep all my JS in angular when I'm working on an angularjs project.
[17:33:30] <Ownix> Right but this app is a partial view on the master page so its on all pages. Id like to have to dynamically update so if on another page i CRUD stuff to the DB I can also call a JS function like UpdateFavorites() and refresh the list on the fly
[17:33:43] *** stickperson has quit IRC
[17:33:57] <Ownix> But I cant get to scope easily from outside of my ng-app
[17:33:58] *** hannesvdvreken has quit IRC
[17:33:58] *** hugorodrigues has quit IRC
[17:34:09] *** illume has quit IRC
[17:34:18] *** pluma has quit IRC
[17:34:22] *** mdel has joined #angularjs
[17:34:30] <Sna4x8> Is your server-side API RESTful? If so I'd use $resources.
[17:34:39] <Sna4x8> Sure makes CRUD easy.
[17:35:06] *** JesseEichar_ has quit IRC
[17:35:23] *** stormpat has joined #angularjs
[17:35:53] *** tommmied has left #angularjs
[17:36:21] <Ownix> Sna4x8: yeah its not RESTful but in the past I have just used $http to manually go out and make my calls. Either way those wont help since I still have to tell the app to call home and update the view
[17:36:45] *** MIR100 has joined #angularjs
[17:36:48] *** lordkryss has quit IRC
[17:36:58] *** HelperW has quit IRC
[17:37:40] *** mykz_ has quit IRC
[17:37:46] *** lordkryss has joined #angularjs
[17:38:00] *** randomGuy24 has quit IRC
[17:38:37] *** amedia has quit IRC
[17:40:02] *** amedia has joined #angularjs
[17:40:17] *** gnrlbzik has quit IRC
[17:40:28] *** quartzmo has joined #angularjs
[17:41:07] *** cthrax has quit IRC
[17:41:13] *** corban has quit IRC
[17:41:23] *** sonofdirt has joined #angularjs
[17:41:46] *** dariocravero has quit IRC
[17:42:02] *** KamalKaur has joined #angularjs
[17:42:23] <KamalKaur> Django and AngularJS, how much good the combination is?
[17:42:37] *** bkuberek has joined #angularjs
[17:43:00] *** cthrax has joined #angularjs
[17:43:04] *** mettjus has quit IRC
[17:43:15] *** abahgat has joined #angularjs
[17:43:22] *** Mahonar has joined #angularjs
[17:43:37] *** fno has quit IRC
[17:43:53] *** mtsr_ has quit IRC
[17:44:26] *** jerev is now known as jerev_away
[17:44:56] *** jgjog has joined #angularjs
[17:45:35] *** blakef has quit IRC
[17:45:59] <jgjog> hey guys I've just installed nodejs and cloned the angularjs-seed project. The readme states npm is configured to call bower for installations - how can I replicate this?
[17:46:01] *** apetro___ has quit IRC
[17:46:23] <jgjog> I'm finding all sorts within Google none of which are exact matches
[17:46:45] <jgjog> stuff mentioning grunt, which could well be for other purposes
[17:46:52] *** JimTheDev has joined #angularjs
[17:46:53] *** JimTheDev has joined #angularjs
[17:46:57] <Petazz> Or is it generally even possible to do cross origin ajax?
[17:47:36] *** fedenunez1 has quit IRC
[17:47:42] <jgjog> or, reading the README another way, the project sources have this done for me... :-)
[17:47:49] *** krawek has joined #angularjs
[17:47:58] *** fedenunez has joined #angularjs
[17:48:03] *** gnrlbzik has joined #angularjs
[17:48:48] *** optikalmouse has joined #angularjs
[17:49:03] *** DrMabuse has joined #angularjs
[17:49:06] *** mmikeym_ has joined #angularjs
[17:49:10] *** Milanito has joined #angularjs
[17:49:21] *** sigurding has quit IRC
[17:49:31] *** JimTheDev has quit IRC
[17:49:32] *** blakef has joined #angularjs
[17:49:57] *** JimTheDev has joined #angularjs
[17:49:57] *** JimTheDev has joined #angularjs
[17:50:00] *** subnl2 has joined #angularjs
[17:50:21] *** shred has joined #angularjs
[17:50:23] *** milka has quit IRC
[17:50:35] <DrMabuse> Hi Sorry anyone use Videogular with ios document videos ?
[17:51:02] <shred> Hey is there a simple way of doing ng-click : if the scope.value = false then put it true , if it = true then put it false.... i feel like there should be something simple to do that
[17:51:04] *** JimTheDev has quit IRC
[17:51:13] <DrMabuse> video is loading from url not from cdvfile
[17:51:20] *** mchammer has quit IRC
[17:51:20] *** spencercarnage has joined #angularjs
[17:51:36] *** apetro_ has joined #angularjs
[17:52:11] <oniijin> ng-click="var1 = !var1"
[17:52:44] *** Milanito has quit IRC
[17:53:04] <shred> -_- doh why didnt i think of that
[17:53:10] <oniijin> fail
[17:53:22] *** nicholaswyoung has quit IRC
[17:53:39] *** amargherio has joined #angularjs
[17:53:58] *** justinobney has joined #angularjs
[17:53:59] *** nicholaswyoung has joined #angularjs
[17:54:05] <shred> loll
[17:54:06] *** JimTheDev has joined #angularjs
[17:54:17] <marcospgp> is it bad if I abuse promises instead of doing lots of $watches?
[17:54:33] *** lucasefe has joined #angularjs
[17:55:07] *** HypnotiX has quit IRC
[17:55:31] *** _tpavel has quit IRC
[17:55:31] <oniijin> promises ftw
[17:56:14] <shred> Angular promises drop crash course
[17:56:15] <shred> http://www.youtube.com/watch?v=VZMfhtKa-wo&feature=kp
[17:56:19] <marcospgp> like, I have a service that basically answers eevery function call with a promise aha
[17:56:39] *** lsiv568 has quit IRC
[17:56:44] *** mamian has joined #angularjs
[17:56:51] *** nickeddy has joined #angularjs
[17:56:57] <marcospgp> and I can't help it because the service relies on calling an external (async) service
[17:57:10] <marcospgp> so it's okay hm?
[17:57:12] *** yanna has joined #angularjs
[17:57:16] <nickeddy> promises promises
[17:57:18] <marcospgp> shred: wubwubwubwub
[17:57:33] <shred> marcospgp: lolll
[17:57:35] <yanna> any protractor expert?
[17:57:44] *** Click66 has joined #angularjs
[17:57:46] <wafflejock> peey: did some profiling looks fine from here
[17:57:54] *** MTGap has quit IRC
[17:58:03] *** nicholaswyoung has quit IRC
[17:58:11] *** itsananderson_ has quit IRC
[17:58:12] <peey> wafflejock: thanks for checking it out!
[17:58:13] *** justinobney has quit IRC
[17:58:15] <wafflejock> peey: the black it shows before it resizes is distracting but I imagine you can just match the background or remove that color for actual use
[17:58:18] <wafflejock> peey: np
[17:58:19] <yanna> any protractor expert?
[17:58:38] *** Tidwell has quit IRC
[17:58:54] *** sdouglas has joined #angularjs
[17:58:56] <peey> wafflejock: yeah, I'll make it look good
[17:59:12] <marcospgp> by the way, who the hell decided to name the object "deferred" and not "delayed"
[17:59:27] <marcospgp> i hope you burn in hell and your contract with oxford dictionaries is cancelled
[17:59:42] *** tilgovi has joined #angularjs
[17:59:47] <wafflejock> marcospgp: haha yeah that throws me too
[18:00:11] <marcospgp> it would be so magical... return delayed.promise;
[18:00:14] *** mven_ has joined #angularjs
[18:00:14] <marcospgp> but nooooo
[18:00:20] <marcospgp> return defuckingferred.fuckingpromise
[18:00:21] <wafflejock> always have to check if I need to call $q.defer() or $q.deferred()
[18:00:22] <marcospgp> bullsheit
[18:00:23] *** sk87 has quit IRC
[18:00:25] *** jacuqesdancona__ has quit IRC
[18:00:59] *** jacuqesdancona__ has joined #angularjs
[18:00:59] *** R13ose has joined #angularjs
[18:01:04] *** encryptd_fractl has quit IRC
[18:01:09] <wafflejock> I feel like I want to have some deferrred promise but I always forget if the method has the past tense ending
[18:01:10] *** ascarter has joined #angularjs
[18:01:21] *** danielpquinn has joined #angularjs
[18:01:26] *** snurfery has joined #angularjs
[18:01:34] <wafflejock> but yeah delayed would still make more sense to me
[18:01:35] *** bbrown has joined #angularjs
[18:01:46] *** yanna has quit IRC
[18:02:14] *** walidvb has joined #angularjs
[18:02:18] <walidvb> i was dev'ing a rails app until today, and I finally decided to move my user-specific elements loading to the front-end (angular)
[18:02:20] <walidvb> obviously, my e2e tests fail, now
[18:02:20] <jobelenus> hey, does anyone happen to know of a typeahead.js directive that's been written already?
[18:02:22] <walidvb> what is the correct way to do this rails-angular tests?
[18:02:24] <walidvb> as in, tell capybara to wait until ng has rendered?
[18:02:41] <wafflejock> jobelenus: in ui-bootstrap theres one
[18:02:44] <R13ose> walidvb: Have you used Jasmine?
[18:02:57] <jobelenus> wafflejock: is that typeahead.js or is that their own autocomplete?
[18:03:02] *** dariocravero has joined #angularjs
[18:03:10] <walidvb> no, i was using capybara and rspec for testing until now
[18:03:11] <jobelenus> (i saw it.. but seemed to just be their own?)
[18:03:13] *** L8TR has quit IRC
[18:03:17] <wafflejock> walidvb: haven't used it myself but protractor is the recommended tool for e2e tests with angular
[18:03:27] <R13ose> walidvb: maybe read this: http://www.localytics.com/blog/2014/a-year-on-angular-on-rails-a-retrospective/
[18:03:34] <wafflejock> jobelenus: you can get a custom build of ui-bootstrap with only the components you want
[18:03:43] *** subnl2 has quit IRC
[18:04:05] <wafflejock> jobelenus: you can also use the build that doesn't supply it's own templates if you don't want it to use the bootstrap css but really I don't know why you wouldn't use bootstrap
[18:04:10] <walidvb> what bothers me, is that some of my tests are written in ruby, on capybara, and protractor seems to offer a js solution
[18:04:11] <jobelenus> … yea.. but wafflejock that is not the typehead.js project.. its just an autocomplete (also doesnt support a remote datasource)
[18:04:11] *** tigrang has joined #angularjs
[18:04:13] *** wiherek has quit IRC
[18:04:19] *** peey has quit IRC
[18:04:20] <walidvb> meaning i have to use 2 languages for my tests?
[18:04:37] <wafflejock> jobelenus: it's not hard to modify ui-bootstrap source I was doing it yesterday to make the datepicker more robust for my use case
[18:04:45] *** encryptd_fractl has joined #angularjs
[18:04:47] <jobelenus> ...
[18:05:11] *** eutheria has quit IRC
[18:05:17] <marcospgp> i always mess up when writing successful
[18:05:17] *** jamto11 has joined #angularjs
[18:05:19] <jobelenus> im asking if anyone knows of a directive for the typeahead.js project… "No" is an acceptable answer
[18:05:26] <marcospgp> console.log('Login sucexsful');
[18:05:34] <jobelenus> ^impressive
[18:05:38] *** Snugug has quit IRC
[18:05:38] *** KamalKaur has quit IRC
[18:05:42] *** jacuqesdancona__ has quit IRC
[18:05:48] <R13ose> walidvb: I think so
[18:06:01] *** pkozlowski_os has quit IRC
[18:06:04] <walidvb> arf
[18:06:10] *** Snugug has joined #angularjs
[18:06:36] <R13ose> arf?
[18:06:49] <walidvb> sigh
[18:07:00] *** dbouwman has joined #angularjs
[18:07:05] <snurfery> sup guys
[18:07:07] *** thepeculiarform has quit IRC
[18:07:10] *** VictorBjelkholm has joined #angularjs
[18:07:21] *** jbourassa has quit IRC
[18:07:31] <marcospgp> initialization code in controller - yes or no?
[18:07:49] <marcospgp> example: checking login status to decide if login button should or not be displayed
[18:07:51] *** intellix has quit IRC
[18:08:04] *** lsiv568 has joined #angularjs
[18:08:04] *** nerdfiles has quit IRC
[18:08:07] *** Click66 has quit IRC
[18:08:25] *** Aswebb has joined #angularjs
[18:08:42] <Aswebb> Hello guys
[18:08:54] <R13ose> What is MVW framework?
[18:09:00] <wafflejock> jobelenus: I don't think it really helps for one person to say "no" when thats the same answer someone gives if they don't know of one but it exists
[18:09:14] <Aswebb> Does anyone here have a free alert sound ? I'm looking for a small alert sound for my private live chat built with Angular and NodeJS
[18:09:14] <walidvb> R13ose: gem 'capybara-angular'
[18:09:19] <wafflejock> jobelenus: also I'm just sayin if you don't get a yes or find one on your own rolling it from the ui-bootstrap source isn't bad
[18:09:39] *** thepeculiarform has joined #angularjs
[18:09:43] *** Vladi has quit IRC
[18:09:52] <jobelenus> the "typeahead" in ui-bootstrap is *not* what i need/am going to use.. im using a totally different project...
[18:10:12] <R13ose> walidvb: why?
[18:10:13] *** emerson has left #angularjs
[18:10:24] <marcospgp> nvm I got it, gonna do it inside the watch that checks for the login system to be ready
[18:10:26] <jobelenus> typeahead.js is a pretty well known project. so after not finding a directive through searching, i'd figure i'd ask before i go and spend the time rolling my own directive
[18:10:30] <walidvb> to make capybara work with angular
[18:10:34] *** zwacky has quit IRC
[18:11:05] *** in_deep_thought has joined #angularjs
[18:11:16] <R13ose> walidvb: I know but that doesn't answer my question.
[18:11:24] *** mven_ has quit IRC
[18:11:28] <walidvb> why what? ^^
[18:11:39] *** roymilder has quit IRC
[18:11:58] *** ascarter has quit IRC
[18:12:16] <wafflejock> jobelenus: what does it do differently?
[18:12:22] *** xaxisx has quit IRC
[18:12:25] <R13ose> walidvb: why do I need to do that?
[18:12:27] <wafflejock> jobelenus: I just went to the site I really don't see the difference
[18:13:12] *** dariocravero has quit IRC
[18:13:14] *** vsorlov has joined #angularjs
[18:13:18] *** Gambit- has joined #angularjs
[18:13:25] *** vsorlov has quit IRC
[18:13:33] *** morenoh149 has joined #angularjs
[18:13:52] <jobelenus> wafflejock: well, for one, it can use a remote source… but generally, its very optimized for good experiences and not sending a million requests (prefetch, local storage, caching), along with an engine "bloodhound"
[18:14:03] *** klaut has quit IRC
[18:14:41] <wafflejock> jobelenus: yeah I see the bloodhound bits now that's the only difference I see really aside from solving the async problem
[18:14:57] <wafflejock> but still seems easier to just solve the async problem than to roll your own
[18:14:57] <jobelenus> kinda crucial
[18:14:59] <wafflejock> dunno though
[18:15:02] <jobelenus> no
[18:15:12] *** danizord has quit IRC
[18:15:21] *** sdouglas has quit IRC
[18:15:28] <jobelenus> all im doing is writing a damn directive so i can do the damn binding on the element since i cant do it in a controller
[18:15:28] *** RedOrangeZ has quit IRC
[18:15:32] <jobelenus> im not "rolling my own" anything
[18:15:33] <jobelenus> wtf
[18:15:39] *** dbouwman has quit IRC
[18:15:45] <wafflejock> if I need RTL support or couldn't do custom templates or control the drop down size to show a scrollbar where I want I could see those being problems
[18:15:54] *** sdouglas has joined #angularjs
[18:15:55] <wafflejock> fine have fun
[18:16:35] <sal1191> im having a strange problem with ng-model. I can't seem to bind an arbitrary amount of radio inputs to a value in the scope
[18:16:41] *** KernelCurry has joined #angularjs
[18:16:47] *** ASUChander has joined #angularjs
[18:16:54] *** dariocravero has joined #angularjs
[18:16:56] *** KamalKaur has joined #angularjs
[18:17:02] *** rawry has quit IRC
[18:17:11] <sal1191> on http://ecdesign.co you can see the issue in Play --> (Choose any module)
[18:17:19] <sal1191> when you answer a question is outputs to the console my issue
[18:17:23] *** Xethron has quit IRC
[18:17:40] *** jonog_ has quit IRC
[18:17:41] <sal1191> $scope.choice stays undefined despite my ng-model="choice"
[18:17:58] *** lucasefe has quit IRC
[18:18:06] <walidvb> R13ose: just wanted to let you know, that is the way to do
[18:18:07] <walidvb> :)
[18:18:14] *** jonog has joined #angularjs
[18:18:17] *** _jpfm has quit IRC
[18:18:29] *** fedenunez has quit IRC
[18:18:40] <R13ose> walidvb: I already knew that, I just want to know the answer to my question. I am confused with all the frameworks out there.
[18:18:51] *** fedenunez has joined #angularjs
[18:18:52] *** RedOrangeZ has joined #angularjs
[18:18:55] *** jgjog has left #angularjs
[18:19:08] <walidvb> oh, i haden't seen your question
[18:19:09] <walidvb> hehe
[18:19:13] *** Click66 has joined #angularjs
[18:19:38] *** Click66 has quit IRC
[18:19:43] *** chasematterhorn has joined #angularjs
[18:19:44] *** chasematterhorn is now known as Scarlioni
[18:19:45] <wafflejock> R13ose: believe that's the idea with MVW there are a million frameworks that claim some sort of architecture like MVC MVVM MVP, angular is MVW http://stackoverflow.com/questions/13329485/mvw-what-does-it-stand-for
[18:20:14] <wafflejock> R13ose: everyone uses a view and a model and those parts are pretty easy to identify, the other part and how exactly you view it's interaction with the view and the model is up to you
[18:20:23] *** sdouglas has quit IRC
[18:20:46] *** nicholaswyoung has joined #angularjs
[18:20:49] *** uf6667 has joined #angularjs
[18:20:53] <uf6667> hi
[18:20:57] <uf6667> wow, what a huge channel
[18:20:59] *** sdouglas has joined #angularjs
[18:21:03] *** mennea has joined #angularjs
[18:21:03] *** ChrisC_ has quit IRC
[18:21:21] <wafflejock> uf6667: hey yeah usually only about 5 people chatting at a time but lots of lurkers
[18:21:24] <cruxeternus> angular is popular
[18:21:26] *** stormpat has quit IRC
[18:21:32] <uf6667> hah
[18:21:39] *** lsiv568 has quit IRC
[18:21:42] <uf6667> yeah I reckon :)
[18:21:49] <uf6667> pretty useful stuff
[18:22:02] <nickeddy> wafflejock: i'm always here *hides in shadows*
[18:22:07] <wafflejock> nickeddy: haha
[18:22:10] <uf6667> I'm facing a problem with calculating fields
[18:22:18] *** jonog has quit IRC
[18:22:19] <uf6667> basically I have 3 fields
[18:22:23] <R13ose> wafflejock: thanks, I just am so confused why I would use these complex frameworks? I tried a few and got nowhere.
[18:22:27] *** jsoverson has joined #angularjs
[18:22:42] <nickeddy> R13ose: what did you try?
[18:22:44] *** SpearThruster has joined #angularjs
[18:22:44] <uf6667> amount_pricing, amount_currency, price - I want to calculate each off each other if two of them are non-zero
[18:22:53] <uf6667> can someone tell me how to go about it please?
[18:22:59] <wafflejock> R13ose: it's actually a reduction in complexity once you learn to use them correctly because you aren't dealing with keeping the view up to date directly just mainting the model and things are bound from the view
[18:23:01] *** zwacky has joined #angularjs
[18:23:02] <uf6667> I currently use ng-change
[18:23:12] <nickeddy> uf6667: probably ng-show/hide based on value of the others maybe
[18:23:39] <uf6667> but I want to have all 3 displayed
[18:23:45] <nickeddy> ah
[18:23:46] <wafflejock> R13ose: also it gives you some prescribed places to put certain types of code so you know where to look when you're going back to a project to debug or for phase 2
[18:24:00] <nickeddy> uf6667: all 3 are user editable?
[18:24:05] <uf6667> yes
[18:24:07] *** nicholaswyoung has quit IRC
[18:24:15] <uf6667> you think 3 functions?
[18:24:19] <R13ose> nickeddy: I tried CodeIgniter and Yii.
[18:24:28] <uf6667> three different ng-change=""
[18:24:32] <nickeddy> uf6667: hmmm ng-change will probably do it, yeah
[18:24:40] <uf6667> alright I'll retry brb
[18:24:41] *** nicholaswyoung has joined #angularjs
[18:24:50] *** H1FuelCell has joined #angularjs
[18:24:54] *** avens_ has quit IRC
[18:24:58] <nickeddy> R13ose: PHP, bleh
[18:25:04] <R13ose> wafflejock: like a CMS?
[18:25:06] <nickeddy> COME TO THE DARK SIDE OF JAVASCRIPT
[18:25:29] *** avens has joined #angularjs
[18:25:41] <wafflejock> R13ose: well a CMS is more of a high level thing than angular but similar in terms of having different places you go for different features you want
[18:26:01] <wafflejock> R13ose: you could build a CMS in angular that's sort of what a lot of us do I think
[18:26:04] <R13ose> nickeddy: I do like front end languages better than backend ones.
[18:26:22] <nickeddy> R13ose: why not both? nodejs+angular is a dream come true for me :P
[18:26:33] <R13ose> nickeddy: no PHP?
[18:26:34] *** dawhite has quit IRC
[18:26:39] <nickeddy> all js
[18:26:42] <wafflejock> R13ose: yeah you can avoid the PHP if you want
[18:26:46] <wafflejock> and it's not a terrible idea
[18:26:48] <R13ose> wafflejock: you all build your own CMSes?
[18:26:51] *** Tidwell has joined #angularjs
[18:27:30] <uf6667> btw do I always have to write $scope.?
[18:27:34] *** mc___ has quit IRC
[18:27:38] <wafflejock> R13ose: well I've made things that show custom editing forms for various types of data for user input... which is like 1 part of a CMS, and I've built my own user account management stuff so that's another piece but haven't actually pieced together something I would label a "CMS"
[18:27:51] *** mettjus has joined #angularjs
[18:28:31] <wafflejock> but data entry forms that end up coming very close to all the parts you'd need to put together something that could be deemed a CMS if you just added a section for controlling the pages/posts that are shown
[18:28:37] *** fedenunez has quit IRC
[18:28:58] *** nicholaswyoung has quit IRC
[18:28:59] *** fedenunez has joined #angularjs
[18:29:03] *** TendencyDriven has joined #angularjs
[18:29:06] *** arabot has joined #angularjs
[18:29:24] <wafflejock> it's something I might do soon here to make something that competes on the level of squarespace or godaddy website builder for small clients who don't have the budget to do a full on project right away
[18:29:30] *** Aswebb has quit IRC
[18:29:33] *** walden is now known as walden|lunch
[18:29:34] *** darrin has quit IRC
[18:29:57] <oniijin> ew gd website builder is balls
[18:30:02] <nickeddy> uf6667: in controllers generally, yeah
[18:30:03] *** jk-5 is now known as jk-5|gone
[18:30:03] <oniijin> dirty dirty hairy balls
[18:30:07] *** darrin has joined #angularjs
[18:30:08] <wafflejock> oniijin: agree but people use it
[18:30:17] <oniijin> i know i feel bad for them
[18:30:19] <wafflejock> I would rather they use my thing built in angular so I can make it better
[18:30:20] *** Hounddog has quit IRC
[18:30:23] <oniijin> feel like gd fuped them into it
[18:30:24] *** jonnybro has joined #angularjs
[18:30:39] <wafflejock> oniijin: eh it's cheap and simple, it just sucks
[18:30:46] <R13ose> wafflejock: can you add existing CMSes to this?
[18:31:03] <oniijin> you can do whatever the hell u want
[18:31:05] *** arek_at_work has quit IRC
[18:31:09] <nickeddy> lol
[18:31:21] <oniijin> why dont you just roll up your sleeves and learn a bit and play around?
[18:31:24] <R13ose> nickeddy: all JS that sounds fun but I never knew you could use JS as backend.
[18:31:34] <nickeddy> R13ose: yes, node.js
[18:31:37] <oniijin> asking 9billion questions really is just wasting everyone's time
[18:31:40] *** ascarter has joined #angularjs
[18:31:46] <sal1191> figured it out, had to ng-model="$parent.$parent.choice"
[18:31:53] <sal1191> boom bam boom
[18:31:55] <oniijin> that doesn't code smell at all
[18:31:59] *** arek_at_work has joined #angularjs
[18:32:03] <nickeddy> heh...
[18:32:03] *** rbw has quit IRC
[18:32:04] <wafflejock> true you can do whatever you want (within legal and physical limits) porting an existing CMS is probably a lot of work though, kind of second the guys here though getting into it is the best way to get answers most of the time
[18:32:23] <nickeddy> yeah, you do kind of have to jump in
[18:32:34] <nickeddy> try something and if you get it right, cool, if not, we're here
[18:32:37] *** dutis has quit IRC
[18:32:39] *** chabier has joined #angularjs
[18:32:44] <oniijin> without learning a bit more, you won't know what questions to ask either
[18:32:44] <nickeddy> well the channel is here
[18:32:47] <nickeddy> lol :P
[18:32:55] <oniijin> really just wasted air
[18:32:58] *** Guest3963 has quit IRC
[18:33:03] *** dutis has joined #angularjs
[18:33:18] *** TendencyDriven has quit IRC
[18:33:19] *** _jpfm has joined #angularjs
[18:33:55] <R13ose> I am just not going to do anything as I really found MVC and others hard to understand. I was like, it can't do this or that but what does this really do?
[18:34:03] <shackleford> how could I find the domain of my app with $window?
[18:34:30] <avens> shackleford $window.location.host
[18:34:46] <oniijin> if you dont put in time to learn it, yeah it's going to be hard to understand
[18:35:04] *** subnl has joined #angularjs
[18:35:12] <shackleford> thx avens
[18:35:18] <oniijin> MVC is just a way to keep your code clean, prevent it from turning into what most PHP projects end up as
[18:36:07] <oniijin> I feel your current obstacle that you're facing is you lack some basic dev common practice knowledge
[18:36:13] <oniijin> good patterns, etc
[18:36:29] *** doodlehaus has joined #angularjs
[18:36:41] <R13ose> I spent a month trying to learn this. I know that isn't long but I don't feel my knowledge goes down the route. I am confused but what a views and model and www folders do differently.
[18:36:41] *** chabier has quit IRC
[18:36:51] <wafflejock> R13ose: http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
[18:36:51] *** roolo has quit IRC
[18:37:15] *** amedia has quit IRC
[18:37:20] <R13ose> oniijin: what are the basic dev common practice knowledge besides good patterns?
[18:37:27] *** cthrax has quit IRC
[18:38:34] *** kalusn has quit IRC
[18:38:44] *** fedenunez has quit IRC
[18:38:57] <nickeddy> R13ose: just think of angular as your client side stuff, and all it does is talk to API endpoints
[18:39:01] *** edrocks has quit IRC
[18:39:06] *** fedenunez has joined #angularjs
[18:39:09] <nickeddy> that your server, whatever it is, spits out
[18:39:14] <R13ose> nickeddy: do I need to use the API?
[18:39:20] <oniijin> .........
[18:39:23] *** danizord has joined #angularjs
[18:39:25] <wafflejock> R13ose: read that wiki page, the www folder is just a folder you web server program has a configuration file that tells it to load files from some location (by default the www folder), that all has nothing to do with MVC which is a way to organize your code so it does like you see in the diagram on the wiki
[18:39:25] <nickeddy> um
[18:39:31] *** kvnm has joined #angularjs
[18:39:34] *** Sean-Der has joined #angularjs
[18:39:42] <nickeddy> R13ose: i'd say yes, you should
[18:39:49] <nickeddy> datas man.
[18:39:52] <nickeddy> datas
[18:39:57] <oniijin> nickeddy how are u even understanding what he's saying
[18:40:04] <nickeddy> i don't know if i am
[18:40:05] <oniijin> did you get a decoder ring
[18:40:09] <nickeddy> lol
[18:40:10] <wafflejock> haha
[18:40:12] <R13ose> wafflejock: I know what www is. I was justs meaning in context to other folders.
[18:40:32] <R13ose> oniijin: am I saying things wrong?
[18:40:40] <nickeddy> well in apache your www folder is generally the root of your project you're serving up
[18:40:43] <oniijin> you're saying some things that don't really make sense
[18:40:49] <nickeddy> ^
[18:40:52] <R13ose> oniijin: like for example?
[18:40:58] <oniijin> everything above this line
[18:41:00] *** itsananderson has joined #angularjs
[18:41:06] *** kenjamin_ has joined #angularjs
[18:41:11] <Petazz> Hi! I'm trying to trigger a $resource $save but I'm getting a "undefined is not a function"
[18:41:19] <R13ose> nickeddy: most APIs I hit a brick wall with.
[18:41:22] <nickeddy> R13ose: www folder has nothing to do with MVC
[18:41:35] <nickeddy> R13ose: and by API i just mean the shit your server does with data
[18:41:41] <R13ose> I get it www has nothing to do with MVC okay
[18:42:03] *** terrykfwong has joined #angularjs
[18:42:03] *** fedenunez has quit IRC
[18:42:04] *** jonnybro has quit IRC
[18:42:08] *** naneau has quit IRC
[18:42:10] *** fedenunez has joined #angularjs
[18:42:13] <Petazz> http://pastebin.com/PbcAjvcn this says me that $save is not defined
[18:42:37] *** fedenunez1 has joined #angularjs
[18:42:38] *** fedenunez has quit IRC
[18:42:46] <oniijin> nickeddy wafflejock i think ur gettin trolled lol
[18:42:46] <R13ose> This is always how I am in every Web Based Project and people never really understand me. How do I solve this?
[18:42:49] <nickeddy> Petazz: is $save something that would be in that venue object
[18:42:58] <wafflejock> and an API is just an application programming interface, that describes the objects and functions available and the parameters those functions take, when nickeddy said API above he was talking about an endpoint that connects to the database that you write
[18:42:59] *** Sijdesign has joined #angularjs
[18:43:01] <wafflejock> oniijin: so hard to tell
[18:43:02] *** pdillinger1 has joined #angularjs
[18:43:04] *** fedenunez1 has quit IRC
[18:43:05] *** fedenunez has joined #angularjs
[18:43:12] <nickeddy> yes
[18:43:28] *** fedenunez has quit IRC
[18:43:34] *** fedenunez has joined #angularjs
[18:43:40] *** dariocravero has quit IRC
[18:43:42] <R13ose> I am not trolling at all. I never troll and don't even know how to do that properly
[18:43:44] <oniijin> how do I internet my MVC to POST packets API route e2e
[18:43:51] <Petazz> nickeddy: It comes from the $resource so according the docs it should have $save
[18:43:58] *** tsalb has joined #angularjs
[18:44:03] *** fedenunez has quit IRC
[18:44:05] *** fedenunez1 has joined #angularjs
[18:44:13] <nickeddy> Petazz: console.log that response object and crawl through it and see if it does
[18:44:15] *** Guest_ has quit IRC
[18:44:19] *** jbourassa has joined #angularjs
[18:44:20] <R13ose> wafflejock: I know what an API is generally but I just find myself stuck in trying to understand them.
[18:44:30] *** fedenunez1 has quit IRC
[18:44:30] *** fedenunez has joined #angularjs
[18:44:32] *** wilmoore has joined #angularjs
[18:44:34] *** asdofindia has quit IRC
[18:44:43] <wafflejock> R13ose: well I'm saying in this case you would be writing the API too so you probably wouldn't have a problem understanding it
[18:44:54] *** mmikeym_ has quit IRC
[18:44:54] <Petazz> nickeddy: Following this example the resp from a query should have $save on all objects https://docs.angularjs.org/api/ngResource/service/$resource
[18:44:59] *** fedenunez has quit IRC
[18:45:01] *** fedenunez1 has joined #angularjs
[18:45:06] <nickeddy> oh
[18:45:08] <nickeddy> yeah
[18:45:08] *** itsananderson has quit IRC
[18:45:13] <nickeddy> i'd recommend not using $resource
[18:45:24] <Petazz> Oh but I'm using resp.results hmm
[18:45:25] <R13ose> wafflejock: okay.
[18:45:26] *** fedenunez1 has quit IRC
[18:45:28] *** fedenunez has joined #angularjs
[18:45:32] <oniijin> lol
[18:45:32] <nickeddy> Petazz: https://github.com/mgonto/restangular#lets-code
[18:45:36] <wafflejock> R13ose: typically we all either build or are handed some endpoint that uses JSON to communicate with our angular frotn end
[18:45:40] <Petazz> I guess that works pretty good if it is an array
[18:45:53] *** fedenunez has quit IRC
[18:45:59] *** fedenunez1 has joined #angularjs
[18:46:00] <Petazz> Angularjs doesn't natively support it very good if the response is not an array..
[18:46:05] <R13ose> I feel I should stop while I am behind or I will give more people headaches then this is worth their time.
[18:46:14] <nickeddy> Petazz: yeah, restangular will do that better
[18:46:19] <wafflejock> R13ose: just get coding
[18:46:22] *** fedenunez1 has quit IRC
[18:46:26] *** fedenunez has joined #angularjs
[18:46:31] <wafflejock> R13ose: you will learn more from doing it than asking a million questions
[18:46:35] <nickeddy> R13ose: have to start somewhere... go do the tutorials
[18:46:43] <kenjamin_> Hey all, should be an easy question for you guys. Wondering if there’s a less verbose way to assign multiple ng-class variables. Essentially to be able to do something like ng-class=“columns-{{num}}”. I want to avoid doing ng-class=“{‘columns-1’: num == 1, ‘columns-2’: num == 2, etc }”
[18:46:46] <arek_at_work> restangular has some entry barrier though
[18:46:49] *** Gho5t has joined #angularjs
[18:46:49] *** fedenunez has quit IRC
[18:46:56] <arek_at_work> but so does $resource
[18:46:56] *** fedenunez1 has joined #angularjs
[18:46:56] <nickeddy> R13ose: https://docs.angularjs.org/tutorial
[18:46:58] *** svycka has quit IRC
[18:47:07] <oniijin> hmm sounds like what i suggested an hour ago
[18:47:13] <wafflejock> kenjamin_: it can be a function in ng-class
[18:47:20] <nickeddy> ^
[18:47:21] <kenjamin_> Well yeah.
[18:47:22] *** fedenunez1 has quit IRC
[18:47:23] *** fedenunez has joined #angularjs
[18:47:34] <marcospgp> hey guys, facebook sdk sets a session cookie on user login, how can I prevent that? I don't need sessions, as the user info is only needed once to be associated with the local account
[18:47:43] <wafflejock> kenjamin_: actually think you can do what you wrote with just class= too
[18:47:44] *** Foxandxss has joined #angularjs
[18:47:51] *** fedenunez has quit IRC
[18:47:52] *** fedenunez1 has joined #angularjs
[18:48:04] *** pluma has joined #angularjs
[18:48:14] *** fedenunez1 has quit IRC
[18:48:19] *** fedenunez has joined #angularjs
[18:48:33] *** _jpfm has quit IRC
[18:48:49] *** cthrax has joined #angularjs
[18:48:53] *** edrocks has joined #angularjs
[18:48:55] <nickeddy> yeah
[18:48:57] <wafflejock> marcospgp: don't know the facebook sdk well enough to say but you can probably scrub the cookies out of the browser after you do your auth
[18:49:14] *** davedev2_ has joined #angularjs
[18:49:17] *** sonofdirt has quit IRC
[18:49:21] <nickeddy> kenjamin_: class="{{ 'columns-'+num }}"
[18:49:28] <marcospgp> wafflejock: hm i thought about that. makes sense, which is the right way to go about doing that?
[18:49:42] *** davedev24_ has quit IRC
[18:49:50] *** chabier has joined #angularjs
[18:50:01] *** stirlingw has joined #angularjs
[18:50:07] <wafflejock> marcospgp: haven't messed with this any yet myself but I think https://docs.angularjs.org/api/ngCookies/service/$cookies
[18:50:24] <nickeddy> yeah
[18:50:27] <nickeddy> $cookies will work
[18:50:37] *** sonofdirt has joined #angularjs
[18:50:52] <kenjamin_> Good calls wafflejock & marcospgp, thanks
[18:50:54] *** nanoyak has joined #angularjs
[18:50:59] <oniijin> mmmm cookies
[18:51:02] *** mguillech has quit IRC
[18:51:12] <wafflejock> yeah not as great in browsers as in real life IMO
[18:51:23] <oniijin> +eleventybillion
[18:51:23] *** mguillech has joined #angularjs
[18:51:23] *** mguillech has joined #angularjs
[18:51:29] *** alinou has joined #angularjs
[18:51:34] *** conner_ has quit IRC
[18:51:36] <marcospgp> wafflejock: okay thanks! But actually I think I was wrong. The cookie is set every time the app is accessed. I believe this is because when the sdk checks for login status at the facebook server it sees my app has been allowed and sends a token right away which is then stored in a cookie
[18:52:24] *** xaxisx has joined #angularjs
[18:52:30] <oniijin> shouldnt there be an option to not set session
[18:52:37] *** fedenunez has quit IRC
[18:52:58] *** AngularUI has joined #angularjs
[18:52:58] <AngularUI> [bootstrap] jmwolfe opened pull request #2461: (modal) Implement W3-compliant tabbing on the modal - no tabbing into the background document (master...modal_bg_notab_again) http://git.io/lM87aQ
[18:52:58] *** AngularUI has left #angularjs
[18:52:59] <R13ose> wafflejock nickeddy: Thanks for the help. If I felt passionate about IT in general, I would do tutorials and get really involved.
[18:53:26] *** azizur has quit IRC
[18:53:26] *** mmone has quit IRC
[18:53:54] <oniijin> nickeddy u guys totally got trolled for an hour
[18:53:56] *** mguillech has quit IRC
[18:54:05] <nickeddy> lmao
[18:54:06] <wafflejock> oniijin: nickeddy ugh
[18:54:11] <walidvb> hey guys, i was writing all my e2e tests using cucumber for my rails app, and they fail now that some content is loaded via angular
[18:54:28] *** davedev2_ has quit IRC
[18:54:28] *** justinobney has joined #angularjs
[18:54:35] <nickeddy> yeah if you're not at all interested in programming i have no idea why you'd be asking how to jump in to angular
[18:54:36] *** ustunozgur has quit IRC
[18:54:43] *** ededagic has joined #angularjs
[18:54:43] <walidvb> what is the way to go?
[18:54:47] <oniijin> I can sum up that entire convo: "WTF is the internet? -jay"
[18:54:57] <nickeddy> oniijin: hahahahahahahahah
[18:55:01] <wafflejock> yeah great scene
[18:55:13] <oniijin> that bout captures what just took an hour
[18:55:19] *** FIFOd[a] has quit IRC
[18:55:58] *** AlSquire has quit IRC
[18:56:22] *** thepeculiarform has quit IRC
[18:56:57] <R13ose> oniijin: I didn't troll anyone. I was asking questions to learn, and seriously learn. I might use Angular JS in the future. I was asking more in general as people are asking me more and more to get into these type of frameworks. If I wasted anyone's time, I am sorry.
[18:57:23] *** RobinBAwesome has joined #angularjs
[18:57:33] <oniijin> you just dont seem to want to put in any effort to resolve any of your questions
[18:57:43] *** FIFOd[a] has joined #angularjs
[18:57:48] <nickeddy> well if you aren't in to IT/coding, i think asking questions do any good given that's kind of what you need to be doing to understand angular
[18:57:50] <oniijin> many of which arise from your lack of basic understanding. I'm all for helping people, but you better help yourself first
[18:57:59] <nickeddy> won't do any good*
[18:58:00] *** OnkelTem has quit IRC
[18:58:08] *** Aerospark has joined #angularjs
[18:58:31] *** InezK is now known as InezK_away
[18:58:37] *** justinobney has quit IRC
[18:58:47] *** InezK_away is now known as InezK
[18:59:22] *** OnkelTem has joined #angularjs
[18:59:24] *** conner_ has joined #angularjs
[18:59:30] *** xaxisx has quit IRC
[18:59:33] <nickeddy> oniijin++
[18:59:59] *** Snugug has quit IRC
[19:00:09] *** spencercarnage has quit IRC
[19:00:12] *** whunt has joined #angularjs
[19:00:15] <nickeddy> walidvb: https://www.npmjs.org/package/protractor-cucumber maybe? idk
[19:00:15] *** ascarter has quit IRC
[19:00:19] *** xaxisx has joined #angularjs
[19:00:21] <R13ose> I have been doing web development for more or less my job for 6 years. I am trying to learn more. I do ask some stupid basic questions, I know that and I should research myself but I have in the past and seems I don't understand them fully. Is IRC not the place to ask basic questions?
[19:00:31] *** shinnya has joined #angularjs
[19:00:33] <wafflejock> R13ose: appreciate your apology but like they say if you're not really interested in trying there's no reason to ask, we all enjoy helping people out or we wouldn't have tried to help here, but it's frustrating when you feel others aren't putting in the effort and you are trying to help them out
[19:00:39] *** OddDuck has joined #angularjs
[19:00:41] <oniijin> let me make an analogue
[19:00:45] *** mattupstate has joined #angularjs
[19:00:52] *** OddDuck has quit IRC
[19:00:52] *** OddDuck has joined #angularjs
[19:00:58] <oniijin> it's like walking into a car dealership, taking up a salesperson's time for 5 hours, then telling them you don't know how to drive
[19:01:00] <marcospgp> "I should research myself" ;D
[19:01:03] <walidvb> nickeddy: hm. problem is that that means i need to rewrite my tests in js... :/
[19:01:15] <nickeddy> yeah, there's probably nothing you can do about that
[19:01:16] *** avens has quit IRC
[19:01:18] <nickeddy> sadly
[19:01:20] <R13ose> oniijin: I know what you are saying, okay
[19:01:35] <nickeddy> oniijin: hahahahaha
[19:01:39] *** vintik has joined #angularjs
[19:01:43] <oniijin> WTF is a driver's license
[19:01:45] <R13ose> wafflejock: yes I know. I am willing to try just not at the moment, is that bad?
[19:01:49] *** thepeculiarform has joined #angularjs
[19:01:53] *** arek_at_work has quit IRC
[19:01:54] <oniijin> yes it's bad
[19:01:59] <oniijin> you're just being lazy
[19:02:00] <wafflejock> R13ose: just not the right time to ask questions
[19:02:04] <oniijin> and there's nothing worse than a lazy dev
[19:02:04] *** whunt has quit IRC
[19:02:19] <nickeddy> it's bad when everything we've said is readily google-able
[19:02:24] *** wallerdev has joined #angularjs
[19:02:25] <oniijin> http://mattgemmell.com/what-have-you-tried/ read, absorb, live
[19:02:33] <R13ose> nickeddy: right, and I will stop that.
[19:02:40] *** Aerospark has quit IRC
[19:03:00] *** henn1nk has joined #angularjs
[19:03:08] *** disorder20 has quit IRC
[19:03:14] <R13ose> wafflejock: okay, once I am deep into angluar JS I should have started to ask questions not before that. I understand that now.
[19:03:16] <oniijin> google is the place to ask basic questions
[19:03:17] *** pluma has quit IRC
[19:03:33] *** jerev_away is now known as jerev
[19:03:34] *** jiggliemon has quit IRC
[19:03:35] <snapwich> Like the javascript codes through the hourglass, so are the days of our lives.
[19:03:37] <oniijin> angularjs is the place to ask specific dev related questions
[19:03:54] <nickeddy> snapwich: hahah
[19:04:03] <oniijin> not hypothetical whatifs about possible projects you may or may not eventually start 5 years later
[19:04:07] *** dawhite has joined #angularjs
[19:04:22] <R13ose> oniijin: Every programmer should be hard working and willing to learn? If they are not, they should get out and do another job, career, or hobby?
[19:04:31] <oniijin> yup
[19:04:35] <oniijin> u got it
[19:04:42] <oniijin> so by your def, u should go do something else
[19:04:43] <R13ose> Thank You for all the advice and help.
[19:04:50] <oniijin> im done with this convo. fucking troll
[19:04:54] <oniijin> *ignore*
[19:05:23] *** lsiv568 has joined #angularjs
[19:05:30] <oniijin> a that's better
[19:05:58] *** dazs has quit IRC
[19:06:03] <nickeddy> heh
[19:06:04] *** vintik has quit IRC
[19:06:17] <nickeddy> from that article
[19:06:20] <nickeddy> "Here’s a secret: willingness and desire to learn are the true qualifications."
[19:06:30] *** nerdfiles has joined #angularjs
[19:06:47] <oniijin> i really love that post
[19:06:55] <nickeddy> it's true
[19:06:57] <snapwich> hell, that should be a pre-qualification for any job
[19:06:57] *** ineedarobot has quit IRC
[19:07:01] <snapwich> not just programming
[19:07:19] <oniijin> right, but if you want to be a dev, you better get on that level
[19:07:28] *** mguillech has joined #angularjs
[19:07:28] *** mguillech has joined #angularjs
[19:07:33] *** nanoyak has quit IRC
[19:07:39] *** patrickarlt has joined #angularjs
[19:07:47] <oniijin> that's why it peeves me when wafflejock is constantly helping people who are like "o man, i spent a whole 10 minutes, im stumped, write the code for me"
[19:07:48] <oniijin> =p
[19:08:05] <nickeddy> lol
[19:08:07] <wafflejock> oniijin: sorry I get bored
[19:08:16] *** cotko has quit IRC
[19:08:21] <oniijin> there's so much porn dood
[19:08:23] <oniijin> so much porn
[19:08:24] *** toastynerd has joined #angularjs
[19:08:29] <nickeddy> he didn't even spend 10 minutes
[19:08:31] <nickeddy> literally 0
[19:08:40] <oniijin> u ahve to think about spending minutes first
[19:08:44] <oniijin> i think 0 is a stretch
[19:08:48] <nickeddy> lol
[19:08:52] *** kvnm has quit IRC
[19:09:06] *** jsoverson has quit IRC
[19:09:10] *** kvnm has joined #angularjs
[19:09:12] <oniijin> literally like kids who come in here, and are like, WTF is JS. o im writing a full SPA
[19:09:27] <oniijin> o shit I can't do it, can you write some code for me
[19:09:29] *** fedenunez has joined #angularjs
[19:09:36] *** ustunozgur has joined #angularjs
[19:09:49] *** jsoverson has joined #angularjs
[19:09:53] <oniijin> how do I make text BIGGER in my page
[19:09:54] *** bengilli_ has quit IRC
[19:10:14] *** davedev24_ has joined #angularjs
[19:10:30] <nickeddy> duh ng-make-text-bigger
[19:10:33] <wafflejock> oniijin: I generally point those people to codeacademy
[19:10:43] <oniijin> lol laiz ive seen u write code for them
[19:10:57] <wafflejock> oniijin: but if someone has a problem I legitamtely don't know the answer to or can't point them somewhere then I think it's worth doing
[19:11:05] *** nanoyak has joined #angularjs
[19:11:23] *** jkremser has quit IRC
[19:11:31] <wafflejock> cause then it's just another little tool I have for when as customer asks me if I can do xyz
[19:11:32] *** jsoverson has quit IRC
[19:11:38] <oniijin> ng-wtfistheinternet
[19:11:39] *** jacuqesdancona__ has joined #angularjs
[19:11:56] *** jonnybro has joined #angularjs
[19:12:15] *** jsoverson has joined #angularjs
[19:12:19] *** itsananderson has joined #angularjs
[19:12:22] <nickeddy> it's funny, i saw an article about a JSONP exploit on slashdot, and they were all hating the fuck out of javascript. i laughed, given the site they were using to make those comments uses js
[19:12:31] *** terrid has quit IRC
[19:12:48] <nickeddy> JSONP sucks ass, not JS.
[19:12:50] <oniijin> i find a lot of people still think of js from a 1999 view
[19:12:53] *** wallerdev has quit IRC
[19:12:58] *** jsoverson has quit IRC
[19:13:03] *** wallerdev has joined #angularjs
[19:13:07] <oniijin> js? that makes text scroll right?
[19:13:13] <nickeddy> lol
[19:13:29] *** DuelShark has joined #angularjs
[19:13:40] *** jsoverson has joined #angularjs
[19:13:41] *** davemerwin has quit IRC
[19:14:23] *** jsoverson has quit IRC
[19:14:36] *** Nijikokun has joined #angularjs
[19:15:05] *** jsoverson has joined #angularjs
[19:15:32] *** jareddlc has joined #angularjs
[19:15:37] *** partikus has joined #angularjs
[19:15:49] *** jsoverson has quit IRC
[19:16:12] *** jacuqesdancona__ has quit IRC
[19:16:18] *** whunt has joined #angularjs
[19:16:20] *** itsananderson has quit IRC
[19:16:26] *** faviouz has joined #angularjs
[19:16:26] *** jsoverson has joined #angularjs
[19:16:39] <nickeddy> yeah i need to get an aeropress
[19:16:44] <nickeddy> MORE ESPRESSO
[19:16:59] *** kayloos has joined #angularjs
[19:17:14] *** jsoverson has quit IRC
[19:17:24] <oniijin> it's ok
[19:17:36] *** patrickarlt has quit IRC
[19:17:46] *** hugofirth has quit IRC
[19:17:53] *** jsoverson has joined #angularjs
[19:18:16] <oniijin> o yes. mind the gap monday
[19:18:53] *** schonert has joined #angularjs
[19:18:56] *** CptChaos has joined #angularjs
[19:19:04] *** vintik has joined #angularjs
[19:19:22] *** Snugug has joined #angularjs
[19:20:01] *** jsoverson has quit IRC
[19:20:01] *** heidi has joined #angularjs
[19:20:40] *** jsoverson has joined #angularjs
[19:20:41] *** conner_ has quit IRC
[19:20:49] *** schonert has left #angularjs
[19:21:01] *** conner_ has joined #angularjs
[19:21:25] *** jsoverson has quit IRC
[19:21:34] *** kayloos has quit IRC
[19:22:03] *** jonnybro has quit IRC
[19:22:07] *** walden|lunch is now known as walden|brb
[19:22:08] *** jsoverson has joined #angularjs
[19:22:35] *** Sijdesign has quit IRC
[19:22:50] <marcospgp> nespresso
[19:22:50] *** jsoverson has quit IRC
[19:22:51] <marcospgp> wharelse
[19:22:51] *** nanoyak has quit IRC
[19:23:01] *** henn1nk has quit IRC
[19:23:23] *** nanoyak has joined #angularjs
[19:23:31] *** jsoverson has joined #angularjs
[19:23:33] *** krawchyk_ has joined #angularjs
[19:23:57] *** Aliks has joined #angularjs
[19:24:15] *** jsoverson has quit IRC
[19:24:54] *** jsoverson has joined #angularjs
[19:25:14] *** htowngangsta has joined #angularjs
[19:26:07] *** jiggliemon has joined #angularjs
[19:26:11] *** jsoverson has quit IRC
[19:26:18] *** krawchyk has quit IRC
[19:26:23] *** RobinBAwesome has quit IRC
[19:26:33] *** dutis has quit IRC
[19:26:53] *** jsoverson has joined #angularjs
[19:27:16] *** conan_the_destro has quit IRC
[19:27:26] <nickeddy> http://www.wecravecoffee.com/how-to-make-crema-with-the-aeropress/
[19:27:40] *** TheAceOfHearts has joined #angularjs
[19:28:23] *** jsoverson has quit IRC
[19:28:53] *** Nizumzen has joined #angularjs
[19:28:57] *** asdofindia has joined #angularjs
[19:29:01] *** jsoverson has joined #angularjs
[19:29:13] *** disorder20 has joined #angularjs
[19:29:30] *** Limarson has quit IRC
[19:29:40] *** Asiajey has joined #angularjs
[19:29:40] *** Asiajey has joined #angularjs
[19:30:19] *** jsoverson has quit IRC
[19:30:23] <sal1191> i really enjoy the ionic framework, does anyone else use that for dev?
[19:30:49] <JimTheDev> sal1191: Me :D
[19:30:53] <sal1191> it makes a mean mobile-friendly spa
[19:30:59] <sal1191> haha hey jim
[19:31:01] *** jsoverson has joined #angularjs
[19:31:05] <JimTheDev> haha heya :)
[19:31:12] *** in_deep_thought has quit IRC
[19:31:21] <sal1191> open up http://ecdesign.co on your phone
[19:31:29] <sal1191> my multiple choice demo works now :p
[19:31:41] *** Nijikokun has quit IRC
[19:31:50] <sal1191> I had a weird issue with ng-model using the <ion-radio> directive
[19:32:13] *** whunt has quit IRC
[19:32:29] *** jsoverson has quit IRC
[19:32:37] *** heidi has quit IRC
[19:32:39] <sal1191> ended up having to use ng-model="$parent.$parent.choice" to make it reference the variable in my singleModuleCtrl
[19:32:39] <JimTheDev> nice!
[19:32:41] *** sneakertack has quit IRC
[19:32:43] <marcospgp> what happens to an operating system at the end of its life?
[19:32:51] <JimTheDev> hahaha
[19:32:51] <marcospgp> CORRECT!
[19:32:54] <JimTheDev> i just got that one too
[19:33:04] <sal1191> haha I only had the questions from last year
[19:33:10] *** jsoverson has joined #angularjs
[19:33:12] <sal1191> no idea what the content of those questions is
[19:33:18] <sal1191> are*
[19:33:18] *** in_deep_thought has joined #angularjs
[19:33:20] <JimTheDev> nice sal1191: yeah that’s how the scopes work in the repeats.
[19:33:25] <sal1191> so i made some up
[19:33:42] <JimTheDev> works well on my iphone 4s
[19:33:46] <JimTheDev> in chrome
[19:33:55] *** jsoverson has quit IRC
[19:34:06] <sal1191> it works on dolphin browser mini and chrome on my old ass motorola droid 2
[19:34:11] *** doodlehaus has quit IRC
[19:34:17] <sal1191> thats why i love ionic. it seems to work well on anything
[19:34:19] *** whunt has joined #angularjs
[19:34:19] <marcospgp> a gun to protect wifi packets ahaahah
[19:34:32] <sal1191> hahaha yes it turns out its not a proxy you need
[19:34:33] *** heidi has joined #angularjs
[19:34:34] *** mercwithamouth has quit IRC
[19:34:34] *** jsoverson has joined #angularjs
[19:34:47] <sal1191> if someones hackin yo packets you betta ice that fool where he stizzands
[19:35:01] <sal1191> thats how you stay safe on public wifi ;)
[19:35:22] *** jsoverson has quit IRC
[19:35:29] <Sengoku> wafflejock:
[19:35:30] <Sengoku> !
[19:35:44] <sal1191> now I have to hook up the backend though
[19:36:01] *** jsoverson has joined #angularjs
[19:36:15] <sal1191> we can only use regular PHP scripts with a mysql database
[19:36:30] *** patrickarlt has joined #angularjs
[19:36:35] <sal1191> i stared web dev learning mongo and node :x
[19:37:11] *** Gho5t has quit IRC
[19:37:37] *** mindlace has joined #angularjs
[19:37:39] *** nerdfile1 has joined #angularjs
[19:37:39] *** walden|brb is now known as walden
[19:37:45] *** jsoverson has quit IRC
[19:37:47] *** nerdfiles has quit IRC
[19:38:00] <sal1191> JimTheDev: do you package ionic apps as actual native apps?
[19:38:15] <sal1191> in your ionic projects
[19:38:24] *** jsoverson has joined #angularjs
[19:38:30] *** mindlace_ has joined #angularjs
[19:38:33] *** patrickarlt has quit IRC
[19:38:46] *** krawchyk has joined #angularjs
[19:38:55] *** raibutera has quit IRC
[19:39:20] *** mindlace_ has quit IRC
[19:39:41] *** jsoverson has quit IRC
[19:40:00] *** mindlace_ has joined #angularjs
[19:40:05] <JimTheDev> sal1191: Yes, exclusively.
[19:40:21] *** jsoverson has joined #angularjs
[19:40:33] *** krawchyk_ has quit IRC
[19:40:50] *** Tomdarkness has quit IRC
[19:40:59] *** stickperson has joined #angularjs
[19:40:59] *** mindlace has quit IRC
[19:41:02] *** stickperson has quit IRC
[19:41:14] <sal1191> cool man how does it compare to writing the app with the actual native APIs?
[19:41:49] *** ngbot has joined #angularjs
[19:41:49] <ngbot> [angular.js] IgorMinar pushed 1 new commit to master: http://git.io/RLnFNg
[19:41:49] <ngbot> angular.js/master 3dafcba Igor Minar: feat(ngTransclude): allow ngTransclude to be used as an element...
[19:41:49] *** ngbot has left #angularjs
[19:41:50] *** krawchyk_ has joined #angularjs
[19:42:06] *** jsoverson has quit IRC
[19:42:13] *** stevvooe has joined #angularjs
[19:42:18] <sal1191> I had guessed that it would be more restrictive
[19:42:24] *** rinceRepeat has joined #angularjs
[19:42:42] *** endash has joined #angularjs
[19:42:45] *** jsoverson has joined #angularjs
[19:42:53] <JimTheDev> sal1191: No different really. You just need to run build.
[19:43:01] *** krawchyk has quit IRC
[19:43:08] <JimTheDev> then it packs the app up
[19:43:28] <Sengoku> http://pastebin.com/QScaqvV7 <-- <clabel text="var.status" />
[19:43:32] *** joevandyk has joined #angularjs
[19:43:33] <JimTheDev> ngCordova helps too.
[19:43:36] <sal1191> JimTheDev: is cordova the runtime engine that gives you access to the native APIs?
[19:43:40] <sal1191> or just a build tool
[19:43:46] *** juampy has quit IRC
[19:44:36] <joevandyk> How can I check if a form attribute is dirty? say i want to add a css class to some html element if a checkbox has been checked
[19:44:40] *** ajk27 has quit IRC
[19:44:40] <JimTheDev> it gives you access to the native apis by building the app into whatever kind of app you want and injecting the right version of the plugin into your app.
[19:44:52] <joevandyk> (not just is checked, but the user has just checked the box)
[19:44:54] *** wallerdev has quit IRC
[19:45:23] <joevandyk> (it's a warning that asks if the user is really sure that they want to check the box)
[19:45:41] *** siddart has quit IRC
[19:45:59] *** siddart has joined #angularjs
[19:46:00] *** Ericx2x has joined #angularjs
[19:46:04] <Siecje> If I have my controllers in separate files what do I need to do in app.js to use them? https://dpaste.de/ovbj
[19:46:16] *** ckboii89_ has quit IRC
[19:46:44] *** krawek has quit IRC
[19:46:47] *** patrickarlt has joined #angularjs
[19:47:15] *** badon_ has joined #angularjs
[19:47:28] *** bbankes has quit IRC
[19:47:28] *** kfr2_ is now known as kfr2
[19:47:45] <sal1191> Siecje: are your controllers attached the same module?
[19:47:49] *** badon has quit IRC
[19:48:09] *** xaxisx has quit IRC
[19:48:22] <TheAceOfHearts> hey Foxandxss, do you use uglifyjs?
[19:48:31] <Siecje> yeah in app.js I defined a module app (app = angular.module('app', ...) then I do app.controller in the controllers
[19:48:36] <Foxandxss> yeah
[19:48:37] *** R13ose has left #angularjs
[19:48:38] *** itsananderson has joined #angularjs
[19:48:40] <Foxandxss> that comes with lineman
[19:48:52] <sal1191> then you can use the controllers in the body of where ng-app="app" is applied
[19:48:55] <TheAceOfHearts> so, do you uglify each file separately and then concat?
[19:48:58] <JimTheDev> joepie91: You’d probably want to hook into the ng-submit attribute on the form.
[19:49:10] <TheAceOfHearts> or do you concat and then uglify?
[19:49:17] <sal1191> just <script src> all your controllers
[19:49:19] *** ktsmos has joined #angularjs
[19:49:30] <snapwich> concat and then uglify
[19:49:40] <snapwich> don't uglify and then concat
[19:49:55] <nickeddy> doesn't uglifyjs do concatinating
[19:49:59] <joevandyk> JimTheDev: was that for me?
[19:50:01] *** kayloos has joined #angularjs
[19:50:13] *** LuxuryMode has joined #angularjs
[19:50:14] <snapwich> nickeddy: i think it can
[19:50:21] <JimTheDev> joevandyk: yes, sorry, autocorrect :p
[19:50:26] *** Nijikokun has joined #angularjs
[19:50:30] <TheAceOfHearts> snapwich: so how do you handle file order :P? cuz when you do uglify it re-arranges the order
[19:50:46] <Siecje> sal1191: That is what I am doing, but I have a controller called 'Home' but when I load the page I get https://dpaste.de/Oz26
[19:50:46] <snapwich> i concat with grunt-concat
[19:50:50] *** badon_ is now known as badon
[19:50:51] <snapwich> it seems to honor glob file ordering
[19:50:59] *** lurking has joined #angularjs
[19:51:04] <TheAceOfHearts> when you uglify, the file structure gets changed, though
[19:51:30] <snapwich> well, firstly. you should write your code in a way where file ordering doesn't matter
[19:51:39] *** spencercarnage has joined #angularjs
[19:51:44] <TheAceOfHearts> that's not really possible :p, all of my code depends on angular being loaded first
[19:51:47] <TheAceOfHearts> which is totally reasonable
[19:51:56] <TheAceOfHearts> and heck, even a lot of angular modules depend on having their dependencies loaded first
[19:51:58] *** Aerospark has joined #angularjs
[19:52:02] <TheAceOfHearts> file order matters.
[19:52:03] *** mdel has quit IRC
[19:52:06] <snapwich> it shouldn't
[19:52:09] <JimTheDev> joevandyk: so the form would be <form ng-submit=“submitForm(loginAttempt)”>
[19:52:10] <TheAceOfHearts> you can't avoid that
[19:52:13] <snapwich> that's why you declare dependencies
[19:52:19] <snapwich> i've avoided it up until this point
[19:52:27] <TheAceOfHearts> angular handles dependencies of itself
[19:52:33] <TheAceOfHearts> but angular STILL needs to load first
[19:52:43] <snapwich> load angular spearately
[19:52:45] <joevandyk> JimTheDev: err, not sure that's what i'm asking. :)
[19:52:46] <TheAceOfHearts> and library dependencies that are outside of angular also need to be loaded first
[19:52:48] *** cbeacock has quit IRC
[19:53:02] *** nicholaswyoung has joined #angularjs
[19:53:04] *** RobinBAwesome has joined #angularjs
[19:53:22] <snapwich> well, true. angular needs to load first
[19:53:25] <joevandyk> JimTheDev: i have a checkbox. if the user checks it, i need to display a warning. if the checkbox was already checked when the page loads, i don't want to display the warning. the warning is just an element with a css class.
[19:53:29] *** Ir1sh has quit IRC
[19:53:34] <snapwich> but I usually load that from the google cdn separately
[19:53:37] *** xaxisx has joined #angularjs
[19:53:40] <TheAceOfHearts> alright
[19:53:59] <TheAceOfHearts> I've thought about having two files instead of one, where the first one is libs and the second one is application code
[19:54:00] *** jiggliemon has quit IRC
[19:54:03] <TheAceOfHearts> that'd solve order problems
[19:54:04] *** Ericx2x has quit IRC
[19:54:05] <Siecje> sal1191: And my authentication is not working.
[19:54:39] <snapwich> yeah
[19:54:40] *** michaelm has joined #angularjs
[19:54:40] <snapwich> that works
[19:54:51] <JimTheDev> joevandyk: oh ok. then you want to use the ng-checked
[19:55:07] *** dariocravero has joined #angularjs
[19:55:11] <snapwich> i usually do stuff like angular.module("underscore", []).factory("_", function($window){return $window._;}); and then use my libraries that way
[19:55:12] *** lurking has quit IRC
[19:55:15] <joevandyk> JimTheDev: how does ng-checked let me know if the user has just checked the box on the page?
[19:55:17] *** justinobney has joined #angularjs
[19:55:24] <sal1191> sec
[19:55:28] *** faviouz has quit IRC
[19:56:05] *** kenjamin_ has quit IRC
[19:56:31] *** mettjus has quit IRC
[19:57:16] *** dariocra_ has joined #angularjs
[19:57:23] <snapwich> my point being that javascript doesn't have a built-in dependency manager. but once you've loaded your dependency manager (in this case angular) you should be able to start declaring dependencies and the depndency manager should be doing the work to make sure file order doesn't matter (after that point)
[19:57:38] *** joshontheweb has quit IRC
[19:57:49] <sal1191> Siecje: sorry gave you bad info
[19:58:06] <sal1191> using angular.module('app', []) twice in separate scripts
[19:58:10] <sal1191> will overwrite the original one
[19:58:29] *** cbeacock has joined #angularjs
[19:58:35] <sal1191> you make the module name in each file unique
[19:58:39] <sal1191> then declare your dependencies in the main one
[19:58:41] <sal1191> i.e.
[19:58:57] <sal1191> angular.module('app', ['app.services', 'app.controllers'])
[19:59:02] *** fedenunez has quit IRC
[19:59:11] <sal1191> then in your separate files
[19:59:15] <JimTheDev> joevandyk: I think this is more what you want: https://docs.angularjs.org/api/ng/input/input%5Bcheckbox%5D
[19:59:19] <sal1191> angular.module('app.services', [])
[19:59:21] <sal1191> etc
[19:59:48] *** slainer68 has quit IRC
[19:59:59] *** justinobney has quit IRC
[20:00:25] <JimTheDev> joevandyk: Then you can use a watch on the value so that when the checkbox value changes, you kick off a function.
[20:00:32] *** dariocravero has quit IRC
[20:00:47] <JimTheDev> or you can just have a dialog with ng-hide or ng-show bound to the value of that checkbox.
[20:01:03] *** ajk27 has joined #angularjs
[20:01:03] <JimTheDev> So the dialog visibility becomes bound to the checkbox value.
[20:01:34] *** tylerlh has joined #angularjs
[20:01:42] *** kas84 has joined #angularjs
[20:01:50] <jaawerth> joevandyk: that isn't what ng-checked is for, really. ng-checked exists because the standard "checked" attribute isn't required by all browsers to have its boolean value preserved. You don't really have to use ng-checked if you're already using ng-model and the checkboxes are part of a <select> tag, but it's useful for individual checkboxes.
[20:01:52] *** kvnm has quit IRC
[20:02:00] *** Ir1sh has joined #angularjs
[20:02:07] *** mary5030 has quit IRC
[20:02:31] *** mary5030 has joined #angularjs
[20:03:27] *** kayloos has quit IRC
[20:03:38] *** Ericx2x has joined #angularjs
[20:03:42] *** kvnm has joined #angularjs
[20:04:06] *** conan_the_destro has joined #angularjs
[20:04:35] *** dcherman has quit IRC
[20:04:36] <jaawerth> joevandyk: err, ignore the part about "select", heh. Anyway, ng-checked basically just ensures that a checkbox's "checked" status is tied to a particular variable on the DOM and that the DOM won't get out of sync. You usally just use it in angular to make sure a checkbox is checked by default and tied to a specific boolean state.
[20:05:22] *** kvnm has quit IRC
[20:05:39] *** dcherman has joined #angularjs
[20:05:51] *** ckboii89 has joined #angularjs
[20:05:56] *** rbueno has quit IRC
[20:06:34] *** stevvooe has quit IRC
[20:06:37] *** kvnm has joined #angularjs
[20:07:34] *** mdix has joined #angularjs
[20:08:47] *** ustunozg_ has joined #angularjs
[20:08:48] *** WeiJunLi has joined #angularjs
[20:08:59] *** kayloos has joined #angularjs
[20:09:01] <WeiJunLi> I want to click on an image and display the next 6 images on anohter div, cannot identify the problem -> http://pastebin.com/yreN8YZe
[20:09:34] *** ericduran-brb is now known as ericduran
[20:09:53] *** Aliks has quit IRC
[20:10:28] *** chabier has quit IRC
[20:10:36] *** tylerlh has quit IRC
[20:11:11] *** tylerlh has joined #angularjs
[20:11:24] *** xaxisx has quit IRC
[20:11:30] *** ajph has quit IRC
[20:11:49] *** ustunozgur has quit IRC
[20:12:01] <snapwich> WeiJunLi: that's not javascript
[20:12:05] <snapwich> err angular i mean
[20:12:09] *** nanoyak has quit IRC
[20:12:16] <snapwich> that's jQuery garbage
[20:12:58] *** Aliks has joined #angularjs
[20:13:54] *** nicholaswyoung has quit IRC
[20:14:21] *** nicholaswyoung has joined #angularjs
[20:14:31] *** ccohn has quit IRC
[20:14:38] *** xaxisx has joined #angularjs
[20:14:46] <Sakurazaki> Guys, a quick unrelated (directly to angularjs) questio. Do you know a library which allows to use tags in select? Like when you click an option it appears as a tag in it or you can also write and select an option from displayed search
[20:15:00] *** MistahKurtz has joined #angularjs
[20:15:06] *** ccohn has joined #angularjs
[20:15:19] *** Alina-emergency has quit IRC
[20:15:39] *** blakef has quit IRC
[20:15:55] *** tylerlh has quit IRC
[20:16:00] *** dmamills has joined #angularjs
[20:16:19] *** stevvooe has joined #angularjs
[20:16:20] <nickeddy> Sakurazaki: yep, sec
[20:16:38] <nickeddy> http://mgcrea.github.io/angular-strap/##selects
[20:16:45] <nickeddy> that should do it
[20:17:01] *** nerdfile1 has quit IRC
[20:17:15] *** nerdfiles has joined #angularjs
[20:17:19] <Sakurazaki> yeah that can work, thanks
[20:17:23] <nickeddy> np
[20:18:25] *** jonog has joined #angularjs
[20:18:38] *** homework1 has joined #angularjs
[20:18:59] *** zabiu^worldchamp has quit IRC
[20:19:19] *** ccohn has quit IRC
[20:19:20] *** nicholaswyoung has quit IRC
[20:19:49] *** davi has joined #angularjs
[20:19:49] *** evc has joined #angularjs
[20:20:40] *** mettjus has joined #angularjs
[20:20:53] *** xaxisx has quit IRC
[20:21:35] *** walidvb has quit IRC
[20:22:30] *** rbueno has joined #angularjs
[20:22:55] *** mtsr has joined #angularjs
[20:23:11] *** nanoyak has joined #angularjs
[20:23:23] *** jonog has quit IRC
[20:23:23] *** mtsr has quit IRC
[20:23:40] *** mtsr has joined #angularjs
[20:24:34] *** nanoyak has quit IRC
[20:24:50] *** jonnybro has joined #angularjs
[20:24:55] *** kas84 has left #angularjs
[20:24:57] *** doodlehaus has joined #angularjs
[20:25:24] *** accelerate is now known as this
[20:25:28] *** this is now known as accelerate
[20:25:32] *** FIFOd[a] has quit IRC
[20:25:48] *** esteinborn has joined #angularjs
[20:26:12] <Sengoku> http://pastebin.com/QScaqvV7 <-- <clabel text="var.status" /> . Why would the scope variable be undefined in some partials, and defined in others.
[20:26:16] *** shackleford has quit IRC
[20:26:17] *** fedenunez has joined #angularjs
[20:26:20] *** radarbr_19911 has joined #angularjs
[20:27:29] *** senayar has joined #angularjs
[20:27:42] *** radarbr_19911 has quit IRC
[20:27:43] *** xaxisx has joined #angularjs
[20:28:02] <mmitchell> anyone know when 1.3.0 will be released?
[20:28:29] <mmitchell> related - is the current beta "stable enough"?
[20:28:41] *** amedia has joined #angularjs
[20:28:44] *** ninkotech has quit IRC
[20:28:48] *** shackleford has joined #angularjs
[20:29:14] <esteinborn> Hi, running Angular 1.15 and need help consolidating 4 .when()'s in $routeProvider. here is a plnkr with my code: http://plnkr.co/edit/XCgEeQ9GB7oUcRl9amvQ?p=info
[20:29:24] *** nicholaswyoung has joined #angularjs
[20:29:31] <TheAceOfHearts> ouch
[20:29:41] <TheAceOfHearts> mmitchell: I use 1.3 beta in production, yolo.
[20:29:57] <mmitchell> TheAceOfHearts: good to know thanks!
[20:29:59] *** dariocra_ has quit IRC
[20:30:08] *** jeffisabelle has joined #angularjs
[20:30:35] *** michaelm has quit IRC
[20:30:59] <ngoyal> esteinborn: can't you do something like when('/(missing-child|missing-college-student|missing-vulnerable-adult|)/' ?
[20:31:10] <ngoyal> i thought route provider supported that, but i havent looked
[20:31:30] *** LuxuryMode has quit IRC
[20:31:31] *** xmmp has quit IRC
[20:31:43] *** in_deep_thought has quit IRC
[20:31:45] *** mchapman has quit IRC
[20:32:11] *** ch3pa has joined #angularjs
[20:32:27] *** orion1111 has joined #angularjs
[20:32:40] *** encryptd_fractl has quit IRC
[20:32:50] *** michaelm has joined #angularjs
[20:33:00] *** mamian has quit IRC
[20:33:21] *** jeffisabelle has quit IRC
[20:33:29] *** MistahKurtz has quit IRC
[20:33:29] *** nanoyak has joined #angularjs
[20:33:59] <esteinborn> @ngoyal tried it, didnt work (maybe its just not in Angular 1.15?)
[20:34:33] *** jeffisabelle has joined #angularjs
[20:35:07] *** mettjus has quit IRC
[20:35:22] *** in_deep_thought has joined #angularjs
[20:35:26] *** Aerospark has quit IRC
[20:35:31] *** rune1 has joined #angularjs
[20:35:38] *** disorder20 has quit IRC
[20:35:55] *** disorder20 has joined #angularjs
[20:35:59] *** MistahKurtz has joined #angularjs
[20:36:00] *** radarbr_19911 has joined #angularjs
[20:36:05] <esteinborn> I read something about regexp's being able to be used, but I'm terrible with them
[20:36:21] *** dutis has joined #angularjs
[20:36:48] *** gnrlbzik has quit IRC
[20:37:22] *** ededagic has quit IRC
[20:37:25] *** gnrlbzik has joined #angularjs
[20:37:32] *** Shrooms has quit IRC
[20:37:51] *** ededagic has joined #angularjs
[20:37:57] *** Cavallari has joined #angularjs
[20:37:58] <esteinborn> Hi, running Angular 1.15 and need help consolidating 4 .when()'s in $routeProvider. here is a plnkr with my code: http://plnkr.co/edit/XCgEeQ9GB7oUcRl9amvQ?p=info
[20:38:06] *** xaxisx has quit IRC
[20:38:12] *** FIFOd[a] has joined #angularjs
[20:38:40] *** apetro__ has joined #angularjs
[20:39:04] *** tylerlh has joined #angularjs
[20:39:48] *** FIFOd[a] has quit IRC
[20:39:50] <WeiJunLi> anyone can help me with an issue i'm having with javascript?
[20:40:06] *** Shrooms has joined #angularjs
[20:40:20] *** shackleford has quit IRC
[20:41:02] *** xaxisx has joined #angularjs
[20:41:11] *** ccohn has joined #angularjs
[20:41:22] *** radarbr_19911 has quit IRC
[20:41:32] *** apetro_ has quit IRC
[20:41:46] *** KurtB has quit IRC
[20:41:58] *** ededagic has quit IRC
[20:42:03] *** rbw has joined #angularjs
[20:42:19] *** anjumkaiser has joined #angularjs
[20:42:37] *** apetro__ has quit IRC
[20:42:38] *** patrickarlt has quit IRC
[20:42:40] *** partikus has quit IRC
[20:42:57] *** asdofindia has quit IRC
[20:44:53] *** TehShrike|Work has joined #angularjs
[20:46:18] *** H1FuelCell has quit IRC
[20:46:19] *** senayar has quit IRC
[20:46:44] *** orion1111 has quit IRC
[20:47:19] *** apetro_ has joined #angularjs
[20:47:21] <TehShrike|Work> I would like to make a directive (without a template, just a link function) that could be applied to all the types of inputs that ngModel could be applied to. Is there a non-jankety way that I could get the current value of ng-model without having to do element.val() or element.text or whatever for each type of element?
[20:47:26] <esteinborn> can i get help with a regex inside a .when for $routeProvider?
[20:47:49] *** dariocravero has joined #angularjs
[20:47:49] *** cthrax has quit IRC
[20:47:58] *** shackleford has joined #angularjs
[20:47:59] <nickeddy> why angular 1.1.5
[20:48:04] *** jbourassa has quit IRC
[20:48:07] *** taybin has joined #angularjs
[20:48:08] *** retzloff has joined #angularjs
[20:48:19] <nickeddy> moving to latest stable shouldn't be a huge issue
[20:48:50] *** LuxuryMode has joined #angularjs
[20:48:54] <TehShrike|Work> Can I just check attr.ng-model or something from my directive?
[20:49:16] <ajk27> esteinborn: I would suggest having a look at ui-router if you haven't already (https://github.com/angular-ui/ui-router)
[20:49:40] *** ngbot has joined #angularjs
[20:49:41] <ngbot> [angular.js] rodyhaddad pushed 1 new commit to master: http://git.io/NBv6AQ
[20:49:41] <ngbot> angular.js/master 02c0ed2 rodyhaddad: fix($rootScope): remove support for a watch action to be a string...
[20:49:41] *** ngbot has left #angularjs
[20:50:17] *** chabier has joined #angularjs
[20:50:28] *** Aerospark has joined #angularjs
[20:50:46] <ajk27> esteinborn: I suspect that if you have a look at the quick start plunker there, you'll be well on your way to handling those routes in a happier way.
[20:51:29] *** RobinBAwesome has quit IRC
[20:51:53] *** ReactiveIO has joined #angularjs
[20:52:04] <ajk27> esteinborn: In particular, check out the URL routing info here that explains how to use regex parameters: https://github.com/angular-ui/ui-router/wiki/URL-Routing
[20:52:12] *** avens has joined #angularjs
[20:52:58] <taybin> I'm having a deep confusion with ng-repeat. I have $scope.errors = [], and then in the callback after a restangular call, I have $scope.error = ['error 1'], which is fine. After I check validation again though, my array is still has one item in it, but the ng-repeat has drawn a new <span> with the error doubled.
[20:53:00] *** nagappan has quit IRC
[20:53:05] <taybin> does this make sense?
[20:53:06] *** ktsmos has quit IRC
[20:53:31] *** nagappan has joined #angularjs
[20:53:32] <nickeddy> taybin: gonna need a pastebin or plnkr
[20:54:01] <taybin> yeah, I figured. okay, thanks. let me see.
[20:55:07] *** nerdfiles has quit IRC
[20:55:23] *** nerdfiles has joined #angularjs
[20:55:59] *** raghunayyar has joined #angularjs
[20:56:12] *** justinobney has joined #angularjs
[20:56:24] *** ajph has joined #angularjs
[20:56:33] <esteinborn> @ajk27 thanks.
[20:56:40] *** stevvooe has quit IRC
[20:56:43] <robdubya> hola hola hola
[20:57:26] <nickeddy> hey robdubya
[20:57:36] *** jsoverson has quit IRC
[20:57:54] *** jrk has joined #angularjs
[20:57:58] *** Mahonar has quit IRC
[20:58:06] <taybin> http://pastebin.com/TLvTnF5X <- ng-repeat confusion
[20:58:12] <wafflejock> hola robdubya
[20:58:18] *** badon has quit IRC
[20:58:31] *** badon has joined #angularjs
[20:58:54] *** patrickarlt has joined #angularjs
[20:59:05] *** jrk has quit IRC
[20:59:05] <taybin> I'm suspicious of line 31, that it's not triggering the digest properly
[20:59:46] *** liri has joined #angularjs
[20:59:59] <robdubya> taybin that error should probbaly be inside the then
[21:00:07] *** disorder20 has quit IRC
[21:00:07] <robdubya> .then(onSuccess,onError)
[21:00:18] *** justinobney has quit IRC
[21:00:40] *** chabier has quit IRC
[21:00:42] *** tfennelly has quit IRC
[21:00:49] *** Cavallari has quit IRC
[21:00:50] <Siecje> sal1191: so for each file I need to include it as a dependency?
[21:00:58] *** asdofindia has joined #angularjs
[21:01:00] *** stevvooe has joined #angularjs
[21:01:07] *** esteinborn has quit IRC
[21:01:10] *** jsoverson has joined #angularjs
[21:01:22] <taybin> robdubya, well it's a restangular object. isn't that how you're supposed to use them?
[21:01:38] <taybin> robdubya, are you talking about the "then" on line 24?
[21:01:42] *** thedodd has quit IRC
[21:01:53] *** Aliks has quit IRC
[21:02:36] <robdubya> taybin yes - you should handle the error condition there
[21:02:40] *** asdofindia has quit IRC
[21:02:52] *** telepantman has joined #angularjs
[21:02:56] *** PrinceAMD has joined #angularjs
[21:03:07] *** asdofindia has joined #angularjs
[21:03:11] <robdubya> taybin its a promise (not specific to restangular)
[21:03:34] <PrinceAMD> hi guys, does angularjs has built-in socket.io for keeping your apps in sync?
[21:03:51] <taybin> yeah, the errors I'm trying to display are coming through in the .catch().
[21:03:51] *** kenjamin_ has joined #angularjs
[21:04:12] <taybin> robdubya, does .catch() do something funky with angular?
[21:04:37] *** spencercarnage has quit IRC
[21:05:00] *** juancri has joined #angularjs
[21:05:14] *** dariocravero has quit IRC
[21:05:21] *** endash has quit IRC
[21:05:31] <TehShrike|Work> Is it possible for other directives to check attrs.ng-model for the current value?
[21:05:37] *** endash has joined #angularjs
[21:05:51] *** HoloPed has left #angularjs
[21:06:06] *** _jpfm has joined #angularjs
[21:07:31] *** nicholaswyoung has quit IRC
[21:07:33] *** st0ned has joined #angularjs
[21:07:36] *** ustunozg_ has quit IRC
[21:07:44] *** ustunozgur has joined #angularjs
[21:07:47] *** krawek has joined #angularjs
[21:07:47] *** krawek has joined #angularjs
[21:07:57] *** nicholaswyoung has joined #angularjs
[21:09:47] *** LuxuryMode has quit IRC
[21:10:04] *** klall has quit IRC
[21:11:18] *** rbw has quit IRC
[21:11:36] *** htowngangsta has quit IRC
[21:11:49] *** encryptd_fractl has joined #angularjs
[21:11:51] *** dariocravero has joined #angularjs
[21:11:58] *** nicholaswyoung has quit IRC
[21:12:17] *** Milanito has joined #angularjs
[21:12:24] *** disorder20 has joined #angularjs
[21:12:44] *** rbw has joined #angularjs
[21:13:59] *** chao has joined #angularjs
[21:14:08] *** MistahKurtz has quit IRC
[21:14:23] *** chao is now known as Guest46274
[21:14:44] *** MistahKurtz has joined #angularjs
[21:14:48] *** juancri has quit IRC
[21:15:14] *** mettjus has joined #angularjs
[21:15:32] <wafflejock> TheAceOfHearts: haha YOLO mmitchell yeah I would say if you are really seriously concerned about stability you need to have good test coverage of your own regradless of which version you end up using
[21:15:54] <wafflejock> TehShrike|Work: look up ngModelController
[21:15:58] *** mityaz has joined #angularjs
[21:16:02] <Sengoku> wafflejock: kind sir
[21:16:08] <mmitchell> wafflejock: +1 to that
[21:16:09] <Sengoku> could you help me debug
[21:16:10] <wafflejock> Sengoku: what's happening
[21:16:33] *** cigarshark has quit IRC
[21:16:39] <wafflejock> Sengoku: I can in like an hour or so (hopefully).. working on a bug myself here just popping in and out of chat
[21:16:47] <Sengoku> wafflejock: http://pastebin.com/QScaqvV7 <-- I have a <clabel text="scopevar.foo.status" />
[21:16:49] *** henn1nk has joined #angularjs
[21:16:50] <Sengoku> oh okay
[21:16:53] <wafflejock> Sengoku: you can always post a sample though someone may help
[21:17:11] <robdubya> PrinceAMD no, but that's really a server side question
[21:17:16] <robdubya> sailsJS for example does it in node
[21:17:27] <robdubya> taybin nothing funky that i can tell
[21:17:43] <PrinceAMD> ok
[21:17:49] <taybin> thanks anyways. It's probably something infuriatingly stupid.
[21:17:53] <robdubya> its more semantically correct to use the error handler, but either *should* work
[21:18:06] <robdubya> http://plnkr.co/edit/wqX2jUPNuxkHpQf6c5fX?p=preview
[21:18:11] *** whunt has quit IRC
[21:18:18] *** Limix has quit IRC
[21:19:10] *** ishi has joined #angularjs
[21:19:39] <ishi> Good evening, all you good people :)
[21:19:47] <ishi> (or whatever good it is in your time zone)
[21:19:57] <robdubya> taybin if its your flash message specifically, its prob because you're using a primitive value
[21:20:01] <Sengoku> hm
[21:20:29] <taybin> it's not the flash. It's probably something stupid with jade indentation.
[21:20:49] <ishi> I have some conceptual problems with angular (again) and I'd greatly appriciate your help.
[21:21:09] <robdubya> taybin ah yes, all bets off there :D
[21:21:11] <ishi> Namely, the $http.get() and friends.
[21:21:20] *** CHC has quit IRC
[21:21:30] <robdubya> by all means ishi
[21:21:32] <robdubya> ask away
[21:21:40] <ishi> In my complete stupidity, I believed that I could have something like this:
[21:22:09] <sal1191> Siecje: yes in your main app file you reference the others
[21:22:16] *** MTGap has joined #angularjs
[21:22:25] *** walidvb has joined #angularjs
[21:22:27] <walidvb> hi guys
[21:22:40] <ishi> a view (.html) with some directives to make it look nice and controller feeding data to the model ($scope, or fields of the controller --- I've seen both approaches in tutorials)
[21:22:48] <ishi> it worked as expected...
[21:22:58] *** slainer68 has joined #angularjs
[21:22:59] *** xaxisx has quit IRC
[21:23:03] <Sengoku> Can someone look at my directive
[21:23:13] <Sengoku> tell me why my scope attribute isn't working
[21:23:20] *** xaxisx has joined #angularjs
[21:23:38] *** edrocks has quit IRC
[21:23:50] <ishi> now... I wanted (silly me) to fetch the data from a remote service... I wanted to be completly 'kosher' so I even came here to investigate if I should use a factory, a value or a service (or some other yet unknown to me construct)
[21:23:57] <robdubya> Sengoku that seems like it would be a lot easier with ng-class + a regualr template
[21:24:01] *** kenjamin_ has quit IRC
[21:24:11] <Sengoku> robdubya: o rly
[21:24:14] <robdubya> ishi a factory / service / provider
[21:24:18] <Sengoku> robdubya: what should i google
[21:24:27] *** Mahonar has joined #angularjs
[21:24:31] <ishi> It settled on factory (which, BTW, has some strange meaning)... in any case... here is my problem
[21:24:39] *** jonog has joined #angularjs
[21:24:40] <robdubya> Sengoku you're just trying to change the class applied base on an external var yes?
[21:24:57] *** quartzmo_ has joined #angularjs
[21:25:00] <robdubya> ishi all 3 of those do the same basic thing
[21:25:00] <ishi> *whatever* I do, I *still* have to 'unwrap' the returned data in controller
[21:25:06] <robdubya> ishi that's correct
[21:25:09] *** lsiv568 has quit IRC
[21:25:10] <ishi> blah...
[21:25:21] *** H1FuelCell has joined #angularjs
[21:25:22] <Sengoku> robdubya: yeah
[21:25:27] *** Limix has joined #angularjs
[21:25:28] <ishi> I hoped (and still try to find a way to do it) to find a way to hmm... abstract it
[21:26:21] <robdubya> ishi to me, it sounds like youre trying to fight promises
[21:26:27] <robdubya> and that's sort of the wrong way to think
[21:26:35] *** kenjamin_ has joined #angularjs
[21:26:38] *** quartzmo has quit IRC
[21:26:48] *** lsiv568 has joined #angularjs
[21:27:01] *** jsoverson has quit IRC
[21:27:26] *** ceephax has joined #angularjs
[21:27:44] *** darrin has quit IRC
[21:27:48] *** Guest46274 has quit IRC
[21:28:58] *** ppppaul has quit IRC
[21:28:58] *** jonog has quit IRC
[21:29:07] *** spencercarnage has joined #angularjs
[21:29:15] *** jsoverson has joined #angularjs
[21:29:22] *** krawek has quit IRC
[21:30:07] *** edrocks has joined #angularjs
[21:30:48] *** vintik has quit IRC
[21:30:50] *** encryptd_fractl has quit IRC
[21:30:59] *** Willow has joined #angularjs
[21:31:56] *** Shrooms has quit IRC
[21:32:42] *** mtsr has quit IRC
[21:32:55] *** kayloos_ has joined #angularjs
[21:32:56] *** ishi has quit IRC
[21:32:58] *** mtsr has joined #angularjs
[21:33:04] *** livingst_ has joined #angularjs
[21:33:20] *** encryptd_fractl has joined #angularjs
[21:33:35] *** FunnyLookinHat has quit IRC
[21:34:11] *** ishi has joined #angularjs
[21:34:19] <ishi> blah... I'm not sure what's going on...
[21:34:23] *** tylerlh has quit IRC
[21:34:36] <ishi> It's either me or the whole freenode is going down :(
[21:34:38] <TheAceOfHearts> robdubya: have you done any angularjs model implementation? I'm probably gonna be trying to tackle it soon
[21:34:40] <ishi> probably me ;)
[21:34:53] <robdubya> TheAceOfHearts shit bro that's all i do
[21:34:57] <TheAceOfHearts> haha
[21:35:03] <ishi> OK, I'm sorry if I'm repeating myself, but I seem to have lost connection and I'm not sure where...
[21:35:14] <robdubya> ishi last thing we got was "abstract it"
[21:35:28] <ishi> I wanted to have a nice and clear invocation like: $scope.value = service.myMethodHittingRemoteAPIAndReturningValue();
[21:35:36] <ishi> and use it like {{value}} in my view
[21:35:45] <nickeddy> use a service
[21:35:54] <ishi> but fsck it... I could live with service.service.myMethodHittingRemoteAPIAndReturningValue().success(function(d) { $scope.value = d;});
[21:35:55] <nickeddy> and $http/restangular/whatever
[21:35:56] <TheAceOfHearts> I'm ripping out my work app's architecture so I can make new apps easily; and one of the things I wanna try fixing/improving is the model layer (among other parts :P )
[21:35:56] <robdubya> ishi use a service
[21:36:08] *** ustunozgur has quit IRC
[21:36:12] *** kayloos has quit IRC
[21:36:14] <ishi> robdubya: hmm... will it work as I imagine it would?
[21:36:14] <sharondio> Yep, what they said. That’s exactly what a service will do.
[21:36:14] <nickeddy> ishi: there's no way to avoid promises unless you do even shittier async
[21:36:15] <robdubya> but its myMethodHittingRemoteAPIAndReturningValue().then(function(values){ ...assign to scope
[21:36:23] <nickeddy> yeah
[21:36:27] *** sdouglas has quit IRC
[21:36:38] <ishi> robdubya: why .then and not success?
[21:37:01] <nickeddy> service.hitApi().then(function(result) {$scope.value = result;}, function(error) { /* some error */ });
[21:37:07] <nickeddy> because that's how promises work
[21:37:09] <robdubya> ishi because .then is promise spec, and .success is bullshit
[21:37:16] <ishi> :)
[21:37:17] <nickeddy> ^
[21:37:29] <robdubya> .then(onSuccess, onError)
[21:37:30] <ishi> hmm... one should never trust docs ;)
[21:37:42] <nickeddy> ishi: http://promise-nuggets.github.io/
[21:37:44] <ishi> I'm sure I haven't invented success() thing
[21:37:44] <robdubya> ishi success/error are specific to angular's $http implementation
[21:37:46] <sharondio> Ah, I knew there was a reason I didn’t use .success. Heh.
[21:38:01] <ishi> oh... OK... fair enough
[21:38:09] <robdubya> they're handy (i guess) but they blur the lines of what's happening, IMO
[21:38:10] <jpstone> I don't find myself using $http very often
[21:38:10] <nickeddy> RESTAngular uses promises ishi
[21:38:21] <ishi> why should I use service instead of factory?
[21:38:41] <robdubya> that's up to you
[21:38:52] <robdubya> there's no practical difference other than how they are declared
[21:38:52] <ishi> oh... yesterday I was told to use factory
[21:39:02] <oniijin> i prfer sweatshops
[21:39:03] <ishi> ok, so I can leave it with factory
[21:39:03] <oniijin> much cheaper
[21:39:07] *** MistahKurtz has quit IRC
[21:39:08] <robdubya> probably by me. factories are easier to read i find
[21:39:10] *** D-Boy has quit IRC
[21:39:11] <jpstone> when folks in here say "use a service", that can be synonymous with "use a factory"
[21:39:18] *** H1FuelCell has quit IRC
[21:39:19] *** whunt has joined #angularjs
[21:39:21] <robdubya> jpstone yep
[21:39:21] <ishi> ok, ta
[21:39:27] <nickeddy> use a provider
[21:39:32] <oniijin> use a service/factory/provider
[21:39:37] <nickeddy> nah i'm kidding, they're all the same
[21:39:42] <oniijin> cept for provider
[21:39:47] *** chabier has joined #angularjs
[21:39:51] <ishi> blah...
[21:39:55] <nickeddy> provide ALL the things
[21:40:02] <robdubya> ishi myMethodHittingRemoteAPIAndReturningValue(
[21:40:04] <robdubya> oop
[21:40:07] <robdubya> http://plnkr.co/edit/muAukqRGxvBQqNsgQCYb?p=info
[21:40:11] <TheAceOfHearts> I put all my services/factories/providers into my services folder
[21:40:15] <ishi> you know... I'm loosing a battle between angular and a bottle of red here ;)
[21:40:24] <jpstone> lol
[21:40:25] *** sigurding has joined #angularjs
[21:40:29] *** CodeFriar has joined #angularjs
[21:40:32] <ckboii89> hey all, what is the best way to for angular to watch for a click selection from a typeahead search?
[21:40:34] <ishi> hmm... the bottle is losing, actually
[21:40:39] <nickeddy> ishi: that's perfectly acceptable :)
[21:40:40] <jpstone> I used to not be able to drink and code at the same time. I've learned to do both now, though. :D
[21:40:42] <ckboii89> excuse the bad grammar shit
[21:40:44] <robdubya> ckboii89 ng-change prob
[21:40:53] *** sdouglas_ has joined #angularjs
[21:41:02] *** H1FuelCell has joined #angularjs
[21:41:03] <jpstone> At the same time, even.
[21:41:06] <nickeddy> ckboii89: rarely do you actually want to use $scope.$watch
[21:41:09] <ishi> ok, I'll try the then... hold on... that's what I"m doing...
[21:41:22] <ckboii89> hm ok
[21:41:47] <ishi> fsck I think I'm lost... it doesn't work for me :(... I ask again.... Is it possible to inject *something* to my controller with a method returning an *object* (ready to use)?
[21:41:57] <ckboii89> @robdubya where would i include the ng-change? im trying to autofill a box that is not the some input form from the input typahead
[21:42:17] <robdubya> ckboii89 in that case, just bind them to the same model property...
[21:42:21] *** subnl has quit IRC
[21:42:24] <nickeddy> ishi: you can sort of use Restangular to do that
[21:42:35] <robdubya> down with restangular!
[21:42:43] <robdubya> do it the hard way!
[21:42:46] <nickeddy> pffffffff
[21:42:47] *** D-Boy has joined #angularjs
[21:42:48] <jpstone> ishi, what isn't working?
[21:42:52] <raghunayyar> hello, I want to fill my select html tag with the value coming from a restangular request. here is my code, i dont get what is wrong. I see a blank first option with remaining options from the controller. http://plnkr.co/edit/bMKurmqFPIa3a57y6hzN?p=preview
[21:42:52] <ckboii89> hm ok
[21:42:56] <robdubya> TheAceOfHearts lunch, then we can talk models if you want
[21:43:05] *** xaxisx has quit IRC
[21:43:09] <ishi> jpstone: hmm... I'll try to compose a plunker
[21:43:12] *** apetro_ has quit IRC
[21:43:14] <jpstone> ahhh...data modeling...the most enjoyable part of coding.
[21:43:15] <ishi> or however you call them
[21:43:22] <jpstone> ishi...where is your endpoint? on the WWW?
[21:43:26] <nickeddy> ishi: why do you need an object to set immediately?
[21:43:28] *** Vinnyceptr_ has joined #angularjs
[21:43:31] *** xaxisx has joined #angularjs
[21:43:55] <ishi> nickeddy: well...
[21:44:05] <ishi> I want to have this service returning 'config'
[21:44:05] <nickeddy> ishi: i mean really, doing SomeService.SomeAPICall().then(function(result) { $scope.stuff = result; }, function(err) { console.log(err); }); is perfectly acceptable
[21:44:09] <jpstone> ishi, give me a pastebin of your code
[21:44:16] *** mary5030 has quit IRC
[21:44:24] <ishi> I want to use the config to populate <title>, set title of the page, create menu etc.
[21:44:24] <nickeddy> it doesn't matter what it's returning?
[21:44:28] <nickeddy> yeah
[21:44:31] <nickeddy> you can still do that
[21:44:36] <jpstone> ishi
[21:44:36] <ckboii89> @robdubya same model property are you referring to the ng-model?
[21:44:40] *** KamalKaur has left #angularjs
[21:44:44] *** cphil has quit IRC
[21:44:52] <jpstone> Is the data you're trying to return local data, i.e, it's not a REST call?
[21:44:55] <robdubya> ckboii89 on the typeahead ng-model="someModel.foo"
[21:44:59] *** chabier has quit IRC
[21:45:01] <robdubya> elsewhere {{someModel.foo}}
[21:45:04] <ishi> blah... ok
[21:45:07] <ishi> I'm pastebining
[21:45:11] *** cphil has joined #angularjs
[21:45:24] *** m0t0r has joined #angularjs
[21:45:24] <ishi> @#$@# I clicked new on this plunker :(
[21:45:27] *** nerdfiles has quit IRC
[21:45:44] <oniijin> u should drink more. might help
[21:45:57] <robdubya> raghunayyar your ng-options syntax is wrong
[21:46:00] <nickeddy> ishi: any way you tackle this, promises will be better than whatever it is you want to do :P
[21:46:06] <robdubya> ^
[21:46:08] <marcospgp> turn arouuund
[21:46:11] <oniijin> 800 callbacks ftw
[21:46:12] <nickeddy> can't just magically turn async in to sync
[21:46:18] <marcospgp> every now and then i get a little bit nervouusss
[21:46:33] <robdubya> every now and then i get a litte bit terrified when i see that fuckin look in your eyeesss
[21:46:33] <jpstone> A promise isn't necessary if your service is just some local logic that returns a value based on that logic
[21:46:44] *** davi has quit IRC
[21:46:56] *** DuelShark has quit IRC
[21:47:05] <jpstone> You can just return a static object, ready for use
[21:47:06] *** FIFOd[a] has joined #angularjs
[21:47:08] <nickeddy> jpstone: it is if he's making any async calls.
[21:47:13] *** jhulten has joined #angularjs
[21:47:15] <nickeddy> which he is
[21:47:16] <nickeddy> so
[21:47:21] *** jasoncurran has joined #angularjs
[21:47:39] <raghunayyar> robdubya: whats wrong in there?
[21:47:53] <robdubya> raghunayyar can you explain why you're making an API call to get the first day of the week?
[21:47:57] <robdubya> that seems... overkill
[21:48:00] *** mityaz has quit IRC
[21:48:01] <jpstone> Why would you be making async calls to get the title of the page?
[21:48:10] <jpstone> that stuff lives in a database?
[21:48:22] <nickeddy> don't ask me
[21:48:24] <nickeddy> lol
[21:48:26] *** H1FuelCell has quit IRC
[21:48:27] <jpstone> :D
[21:48:31] <nickeddy> it's what ishi wants :P
[21:48:49] *** H1FuelCell has joined #angularjs
[21:49:55] <raghunayyar> robdubya: because I am writing a calendar app? and this is a small feature in it ;)
[21:50:16] <jpstone> I just wrote a calendar app
[21:50:22] <jpstone> It's a beaut! :D
[21:50:31] <raghunayyar> nice :D
[21:50:39] <robdubya> raghunayyar so do i (write timekeeping apps)
[21:50:47] <robdubya> my point is, you dont need to go ask the server for that :D
[21:50:50] <jpstone> It was a data modeler's heaven
[21:51:19] <raghunayyar> robdubya: well take it as a random select, dont find logic behind this please ;)
[21:51:38] *** ReactiveIO has quit IRC
[21:51:45] <robdubya> sigh. there's about 3 things wrong then.
[21:51:46] *** bphogan_afk is now known as bphogan
[21:51:49] *** petey has joined #angularjs
[21:51:55] <robdubya> 1 - you're assigning a primitive value to scope
[21:52:01] *** tk has quit IRC
[21:52:02] <robdubya> which wont give you the same object
[21:52:07] <petey> Hi all, I'm having trouble using ng-class and $timeout in an directive
[21:52:11] <robdubya> 2 - your ng-options syntax is wrong
[21:52:18] *** ReactiveIO has joined #angularjs
[21:52:25] *** Yahkob has joined #angularjs
[21:52:28] <raghunayyar> robdubya: can you update the plunkr?
[21:52:29] <robdubya> 3 - why bother when you can just work it out in JS
[21:52:31] *** zouave has joined #angularjs
[21:52:39] <robdubya> no, because i can't hit your endpoint
[21:52:39] *** ReactiveIO has quit IRC
[21:52:54] *** ReactiveIO has joined #angularjs
[21:52:54] <jpstone> ngrok :D
[21:53:18] *** Nizumzen has quit IRC
[21:53:21] <raghunayyar> robdubya: basically its an ownCloud app, I need to make a request as a user might have changed the firstday
[21:53:37] <jpstone> two-way data-binding, baby!
[21:53:58] <jpstone> I had a weird issue with ngrok the other day. I fired it up, and someone I gave the link to saw an old version of my app
[21:54:01] <petey> I hope you can get the gist of what I'm trying to do here: http://plnkr.co/edit/9MyiBj0ofsqqmG83QHwA?p=catalogue
[21:54:02] <jpstone> has anyone experienced that?
[21:54:11] <jpstone> I saw the updated version, they saw an old version
[21:54:16] <petey> Basically, I need to remove a class after a second or two. I'm doing this with an directive
[21:54:48] *** petey is now known as `petey`
[21:55:00] <`petey`> Am I overthinking this?
[21:55:07] *** DrMabuse has quit IRC
[21:55:48] <raghunayyar> robdubya: or u can copy paste the syntax here. its just one line,
[21:55:53] <jpstone> first, I think your array injector and your function injector should be in the same order
[21:55:59] <jpstone> @`petey`
[21:56:23] <robdubya> raghunayyar http://plnkr.co/edit/CgMOeUcWUH1gPmOHRrP1?p=preview
[21:56:27] <robdubya> that's how i'd do it
[21:56:38] *** DrMabuse has joined #angularjs
[21:56:45] *** lite_ has quit IRC
[21:56:52] <`petey`> jpstone, ah ok - rookie mistake on my part, thanks
[21:56:55] *** justinobney has joined #angularjs
[21:57:01] *** shackleford has quit IRC
[21:57:07] <robdubya> raghunayyar if you're setting the "global" day of the week based on a user preference
[21:57:25] <`petey`> Right now I'm just trying to get something out of it
[21:57:26] <robdubya> i highly suggest looking at Moment.js, and setting it there, long before you get anywhere near a controller
[21:57:27] *** hoppi has left #angularjs
[21:57:31] <`petey`> I can't even get the $log OR a console.log() to appear
[21:57:46] *** darrin has joined #angularjs
[21:58:02] *** FunnyLookinHat has joined #angularjs
[21:58:07] <raghunayyar> robdubya: well, I dont want to force remove the blank ng-model but I want the default value from restangular to be there.
[21:58:21] *** dariocravero has quit IRC
[21:58:23] <robdubya> raghunayyar you need more services
[21:58:27] *** henn1nk has quit IRC
[21:58:35] <ishi> http://plnkr.co/edit/C3q6KT03XHCPcvKNgBjx?p=preview
[21:58:42] <jpstone> `petey`: you need to define app first
[21:58:58] *** shackleford has joined #angularjs
[21:59:05] <jpstone> app = angular.module
[21:59:43] <jpstone> ok
[21:59:43] <jpstone> ishi
[21:59:52] *** Milanito has quit IRC
[21:59:53] <`petey`> jpstone, sorry - pulled this out of my project
[22:00:22] <jpstone> in your factory, you should be doing $http.get().then(function(res) var configPromise = res ... and probably a deferred.resolve(res)
[22:00:26] <jpstone> and returning deferred.promise
[22:00:34] *** DrMabuse has quit IRC
[22:00:35] <jpstone> unless I'm an idiot :D
[22:00:36] *** BobbieBarker has quit IRC
[22:00:50] *** walidvb has quit IRC
[22:00:54] <robdubya> raghunayyar v
[22:00:54] <robdubya> http://plnkr.co/edit/xOwZryJNxBFX9JbYwLxK?p=preview
[22:00:56] *** Fishy has quit IRC
[22:01:01] *** LuxuryMode has joined #angularjs
[22:01:10] <jpstone> If I recall, you should only assign a var directly to a promised result in a controller...in a factory you should be using $q.defer()
[22:01:19] *** justinobney has quit IRC
[22:01:22] <jpstone> right?
[22:01:26] *** jacuqesdancona__ has joined #angularjs
[22:01:35] *** avens has quit IRC
[22:01:43] <robdubya> lunch
[22:01:53] *** conner_ has quit IRC
[22:01:55] <ishi> lunch??? where are you? :)
[22:02:18] <ishi> anyway...
[22:02:25] <ishi> I didn't understand half of it :)
[22:02:31] <jpstone> let me try and update the plunker for you ishi
[22:02:46] *** RobinBAwesome has joined #angularjs
[22:03:04] *** Efrem has quit IRC
[22:03:18] *** jsoverson has quit IRC
[22:03:31] *** OnkelTem has quit IRC
[22:03:39] *** ckboii89 has quit IRC
[22:03:47] *** krawchyk_ has quit IRC
[22:04:06] <ishi> even though I cannot make it work, the whole thing seems like a right way to do things
[22:04:21] <ishi> I was never happy with 'web applications' concept, to be honest.
[22:04:35] *** sbeam has joined #angularjs
[22:04:47] *** daivyk has joined #angularjs
[22:04:50] <ishi> I like this return to thick clients ;)
[22:04:51] <raghunayyar> robdubya: thx, trying this out
[22:05:05] *** yoshokatana_ has joined #angularjs
[22:05:20] *** krawchyk has joined #angularjs
[22:05:22] *** sbeam has quit IRC
[22:05:34] <raghunayyar> robdubya: btw, why i cant ng-init selectedday instead?
[22:05:42] <raghunayyar> wont it fill it up first.
[22:05:45] <raghunayyar> wild guess.
[22:05:51] *** jacuqesdancona__ has quit IRC
[22:06:09] *** hswolff has quit IRC
[22:06:10] *** endash has quit IRC
[22:06:11] *** ingshtrom has quit IRC
[22:06:35] *** Trow1 has quit IRC
[22:06:47] *** retzloff has quit IRC
[22:06:50] *** hswolff has joined #angularjs
[22:07:16] *** mamian has joined #angularjs
[22:07:19] *** jsoverson has joined #angularjs
[22:07:38] *** Ericx2x has quit IRC
[22:08:02] *** avens has joined #angularjs
[22:08:05] <ishi> jpstone: this would be great :)
[22:08:24] *** rodyhaddad has joined #angularjs
[22:08:54] *** dariocravero has joined #angularjs
[22:09:58] *** Guest___ has joined #angularjs
[22:10:04] *** in_deep_thought has quit IRC
[22:10:16] <ishi> I can't find a good docs/tutorial... I understand how and why promise work (not in detail, but I can imagine)...
[22:10:36] <ishi> I can find some examples with this success/then thing...
[22:11:11] <ishi> but between those simple examples and actual use is great gap...
[22:11:36] *** partikus has joined #angularjs
[22:11:44] <ishi> I know it's sort of shift in a way I should think about it all... but I can't find any article which would help me to do the shift...
[22:11:46] *** partikus has quit IRC
[22:11:47] <jpstone> ok
[22:11:52] <jpstone> I got it working, sort of
[22:11:56] <jpstone> up to you from here
[22:12:01] <ishi> :)
[22:12:10] <jpstone> not sure how I save this so he can view it
[22:12:10] <ishi> I hope I'll be allowed to ask questions
[22:12:12] <jpstone> anyone?
[22:12:15] <jpstone> yeah, sure
[22:12:24] <ishi> I think you should click 'save' :)
[22:12:29] <jpstone> nm, I have to fork it
[22:12:36] *** spencercarnage has quit IRC
[22:12:37] <ishi> oh...
[22:12:43] <ishi> that's strange...
[22:12:47] <jpstone> http://plnkr.co/edit/PucZVVCNBqp1RTXyvy5p?p=preview
[22:13:08] <jpstone> do you see my changes?
[22:13:40] <TehShrike|Work> wafflejock: ngModelController.$viewValue looks like exactly what I needed, thank you
[22:13:52] <wafflejock> TehShrike|Work: sure
[22:13:57] *** sigurding has quit IRC
[22:14:09] *** Ericx2x has joined #angularjs
[22:14:27] *** krawchyk has quit IRC
[22:14:47] *** sdouglas_ has quit IRC
[22:16:42] *** vintik has joined #angularjs
[22:16:44] *** ehynds has quit IRC
[22:16:56] *** shackleford has quit IRC
[22:17:04] <ishi> jpstone: I see your changes...
[22:17:11] *** ccohn has quit IRC
[22:17:11] <jpstone> cool
[22:17:14] <ishi> but it still sort of does the same thing :(
[22:17:21] *** spencercarnage has joined #angularjs
[22:17:22] *** mdix has quit IRC
[22:17:29] *** kvnm has quit IRC
[22:17:32] *** whunt has quit IRC
[22:17:44] <ishi> inside the menuClicked(), the $scope.cfg.tag seems to be undefined
[22:17:48] *** ededagic has joined #angularjs
[22:18:12] *** holymac has joined #angularjs
[22:18:25] <ishi> oh... that's because then() gives res, not data, so we have to change it to cfg.data
[22:18:30] <ishi> ok, so one mistery solved
[22:18:47] *** artisangoose has joined #angularjs
[22:19:05] *** krawek has joined #angularjs
[22:19:07] *** krawek has joined #angularjs
[22:19:27] <jpstone> yeah, I think that's an $http thing
[22:19:39] <jpstone> I use $resource
[22:19:43] <jpstone> haven't had a need for $http yet
[22:19:49] *** shackleford has joined #angularjs
[22:19:56] *** benjamingr has joined #angularjs
[22:20:23] *** thepeculiarform has quit IRC
[22:20:24] *** lsiv568 has quit IRC
[22:20:39] <nickeddy> $resource uses $http...
[22:20:40] *** nuizzy has joined #angularjs
[22:21:02] *** dariocravero has quit IRC
[22:21:11] *** rune1 has left #angularjs
[22:21:24] *** homework1 has quit IRC
[22:21:35] *** cthrax has joined #angularjs
[22:21:42] *** cigarshark has joined #angularjs
[22:21:46] <jpstone> $resource doesn't return the response all attached to a "data" property. not that I recall anyway
[22:21:56] *** cswelin has quit IRC
[22:22:08] *** xaxisx has quit IRC
[22:22:09] <Foxandxss> uhm, $httpBackend.whenPOST, on respond, doesn't have the latest data, weird
[22:22:43] <ishi> jpstone: oh... what should I use?
[22:22:44] *** lucasefe has joined #angularjs
[22:22:47] *** H1FuelCell has quit IRC
[22:22:48] <Foxandxss> ah, I see
[22:22:53] <ishi> I thought that ngResource *is* $http :)
[22:22:53] *** DrMabuse has joined #angularjs
[22:23:04] <ishi> blah... I want to use the simplest thing possible, please ;)
[22:23:06] <jpstone> ishi: for basic restful services, I use $resource
[22:23:26] <jpstone> I think that's what the docs recommend too.
[22:23:37] *** alinou has quit IRC
[22:24:08] *** _jpfm has quit IRC
[22:24:44] *** cswelin has joined #angularjs
[22:24:54] *** xaxisx has joined #angularjs
[22:25:03] *** nanoyak has quit IRC
[22:25:15] *** PrinceAMD has quit IRC
[22:25:19] *** tfennelly has joined #angularjs
[22:25:25] *** jonog has joined #angularjs
[22:25:56] *** charuru has joined #angularjs
[22:26:11] <ishi> OK, I'm reading about $resource... happy to use what's recommended :)
[22:26:23] <ishi> jpstone: thanks, BTW :)
[22:26:27] <jpstone> np! :)
[22:26:44] <ishi> I'm not sure I get this $q thing
[22:26:54] *** patrickarlt has joined #angularjs
[22:27:08] <ishi> I thought that $http would already return promise... you seem to turning it into another promise :(
[22:27:17] <jpstone> Correct
[22:27:34] *** pdillinger1 has quit IRC
[22:27:37] *** josh-k has joined #angularjs
[22:27:52] <Sengoku> hi
[22:27:58] *** MistahKurtz has joined #angularjs
[22:28:04] *** Guest1536 has quit IRC
[22:28:16] *** mettjus1 has joined #angularjs
[22:28:21] *** mettjus has quit IRC
[22:28:30] <jpstone> $http returns a promsie to the factory, not the controller
[22:28:38] *** whunt has joined #angularjs
[22:29:02] <ishi> hoompf... I think I need another bottle to understand this
[22:29:33] <ishi> anyway... the sad thing is... it seems impossible to 'hide' the implementattion details :(
[22:29:34] *** jonog has quit IRC
[22:29:54] *** ccohn has joined #angularjs
[22:30:00] <jpstone> you mean the logic?
[22:30:21] <ishi> the caller have to always know that the data come from remote repository... and do the then/success woodoo
[22:31:04] *** xaxisx has quit IRC
[22:31:27] <ishi> I kind of hoped to have a service with things stubbed (returning static objects for now) and later changing it into rest calls as I see fit
[22:31:41] <reduce> ive created a diagram editor of sorts, i allow elements to be selected on click. Since elements can be nested in others, i stop propagation of the click event once any element is marked selected. This worked well until now, im using a right click context directive, and it isnt disappearing because the item select behavior is swallowing the click before it gets to it
[22:31:45] <ishi> but, it seems, that each such change, whould imply changing the way the data is retrieved from such a service
[22:32:17] *** amedia has quit IRC
[22:32:20] <reduce> can make a click event go to the context menu directive first?
[22:32:22] <jpstone> ishi, is the "config.json" going to live in a database?
[22:32:44] <ishi> jpstone: well... probably, but that's not my point
[22:32:50] *** amedia has joined #angularjs
[22:32:55] *** mettjus has joined #angularjs
[22:33:10] <reduce> is there a clean way of solving this that doesnt involve passing a message from the select code to the context menu to make sure it shuts when a new item is selected?
[22:33:13] <ishi> I had the current() method of the ConfigService returinging a static object like retunr {.....};
[22:33:17] *** holodoc has joined #angularjs
[22:33:42] <ishi> jpstone: so to use it, I had to simply do $scope = confSerive.current().title; (for example)
[22:33:47] <jpstone> Yeah, that won't work because the "object" you're trying to return doesn't exist when you return it
[22:33:47] *** amedia has quit IRC
[22:34:02] <jpstone> hence the promise
[22:34:08] <ishi> yeah... I know *why*... I simply don't like it... :)
[22:34:11] *** stevvooe has quit IRC
[22:34:14] <jpstone> You can return static objects if your service isn't doing any async calls
[22:34:17] *** amedia has joined #angularjs
[22:34:27] *** patrickarlt has quit IRC
[22:34:32] *** mtsr has quit IRC
[22:34:36] *** foo-bar- has quit IRC
[22:34:37] *** mettjus1 has quit IRC
[22:34:39] <ishi> I wish there was a way to hide the fact that service decides to delegate the call to remote API
[22:34:58] <jpstone> hide...from who/what?
[22:35:05] <ishi> from the caller
[22:35:08] *** tk has joined #angularjs
[22:35:10] <ishi> (controller in this case)
[22:35:10] <jpstone> the controller?
[22:35:21] <jpstone> The controller doesn't know it's a remote API
[22:35:25] <jpstone> It just knows that it's getting a promise back
[22:35:31] <ishi> well...
[22:35:44] <jpstone> It doesn't know from where
[22:35:45] <ishi> and you always return 'promises' if you return static data?
[22:36:02] <ishi> say, you have a method called add()
[22:36:08] <ishi> (adding 2 integers)
[22:36:10] *** stevvooe has joined #angularjs
[22:36:19] <jpstone> You return promises when the "object" you ultimately want to give the controller is dependent on an async call of some sort
[22:36:25] <jpstone> Could be a remote API, could be something else
[22:36:29] *** artisangoose has quit IRC
[22:36:29] *** cthrax has quit IRC
[22:36:35] <ishi> you'd call it (normally) var result = calcService.add(12, 33);
[22:37:04] <jpstone> yeah, you wouldn't need a promise in that case
[22:37:05] <ishi> and expect the result to be equal to 46 (minus one --- fife doesn't work on this keyboard)
[22:37:29] *** holodoc has quit IRC
[22:37:31] <ishi> jpstone: now... let's say you decide to do this calculation on remote service
[22:37:56] <ishi> jpstone: you change the implementation of add(), but you also have to change *all* the places where you used the add
[22:38:02] <ishi> and it's not a small change either
[22:38:23] <ishi> and in a language where finding all uses of add() is very tricky busines...
[22:38:32] *** tk has quit IRC
[22:39:04] *** avens has quit IRC
[22:39:07] <jeffszusz> if information in a service updates, how do I automatically update the info I've been using from that service in my controllers?
[22:39:27] <jpstone> How would information in a service "update"?
[22:39:34] <jeffszusz> am I not supposed to use things like service.getAll() if i want to always have the most recent info?
[22:39:35] *** avens has joined #angularjs
[22:39:52] <jpstone> jeffszusz: sounds like you want something like socket.io
[22:39:52] *** Aartsie has joined #angularjs
[22:39:57] <jeffszusz> okay so if I have a groupService that maintains a collection of groups
[22:39:58] *** Guest___ has quit IRC
[22:40:01] *** lenswipe has joined #angularjs
[22:40:02] *** lenswipe has joined #angularjs
[22:40:10] <jeffszusz> jpstone, no I don't need it to get the most recent from the server
[22:40:14] *** dhcar has joined #angularjs
[22:40:20] <jeffszusz> my problem is that it updates locally in the client in one place but not everywhere
[22:40:43] *** mettjus has quit IRC
[22:40:48] *** apetro_ has joined #angularjs
[22:40:50] <jeffszusz> i can delete a group from the groupService, and the service knows it's gone, but my sidebar for example does not know it should delete that group from a list of buttons
[22:40:52] *** nuizzy has quit IRC
[22:41:01] *** VictorBjelkholm has quit IRC
[22:41:29] <jeffszusz> but we're doing stuff like $scope.groups = groupService.getAll()
[22:41:34] <jeffszusz> in our controllers
[22:41:39] <jeffszusz> is this incorrect, or correct?
[22:42:00] <jpstone> how is your group service holding groups? usually you'd call a service, possibly with an argument, and it returns data
[22:42:06] *** lenswipe has left #angularjs
[22:42:09] <jpstone> it doesn't really "hold" anything
[22:42:13] *** whunt has quit IRC
[22:42:14] *** mary5030 has joined #angularjs
[22:42:21] <jeffszusz> the service is persistent isn't it?
[22:42:24] <jpstone> no
[22:42:33] <jpstone> I don't think so anyway
[22:42:41] <charlie_sanders> so it just returns a static array ?
[22:42:50] <jpstone> it returns whatever you tell it to return
[22:42:58] *** shackleford has quit IRC
[22:43:09] *** foo-bar- has joined #angularjs
[22:43:09] <jeffszusz> that's where our data is - the service makes an $http request, gets a bunch of data, and until we refresh it from the server, the service still has that data and can provide it in any controller that uses it
[22:43:17] <jpstone> it's not going to hold any data for future use other than what you statically code into the logic
[22:43:42] *** Ethix has joined #angularjs
[22:44:02] <jpstone> jeffszusz: no, I don't think that's how it works. The service does the $http call and returns either a promise or data to the controller
[22:44:04] <jpstone> then forgets about the data
[22:44:24] *** in_deep_thought has joined #angularjs
[22:44:24] *** sri has joined #angularjs
[22:44:26] <jeffszusz> hm that's not how it's behaving
[22:44:28] *** mary5030 has quit IRC
[22:44:28] <jpstone> And waits to be called upon again
[22:44:40] *** whunt has joined #angularjs
[22:44:48] *** sri is now known as Guest58909
[22:44:55] <jpstone> wafflejock: am I way off?
[22:44:57] *** nanoyak has joined #angularjs
[22:45:25] *** apetro__ has joined #angularjs
[22:45:37] <Guest58909> Hi
[22:45:57] *** VictorBjelkholm has joined #angularjs
[22:46:10] <jpstone> jeffszusz: what makes you think that's not how it's behaving?
[22:46:34] <jeffszusz> because we can make the http request once in our service and access the data all over the place
[22:47:06] <charlie_sanders> you should paste your service
[22:47:16] <jpstone> No, the service does the http call each time you call on it
[22:47:26] <charlie_sanders> ^ which makes much more sense
[22:47:33] <jpstone> look at your network info in your web browser
[22:47:34] <jpstone> you will see
[22:47:53] <jeffszusz> https://gist.github.com/jeffszusz/2e15787557f31a54bd15
[22:48:38] *** dcherman has quit IRC
[22:48:44] *** apetro_ has quit IRC
[22:48:52] *** dcherman2 has joined #angularjs
[22:48:55] <wafflejock> jeffszusz: jpstone hey was working on some other stuff there just wrapped it up what's going on?
[22:49:14] <jpstone> the only way $http won't get called for getAll is if it runs into your if statement and doesn't move to else
[22:49:42] *** drej has quit IRC
[22:49:55] <jeffszusz> jpstone, so you're saying _groups in this case is never persistent?
[22:49:56] *** darrin has quit IRC
[22:50:03] *** apetro__ has quit IRC
[22:50:03] <jpstone> correct
[22:50:16] *** krawchyk has joined #angularjs
[22:50:26] *** Aliks has joined #angularjs
[22:50:41] <jpstone> services get called from scratch each time their called...they don't remember anything that they can then provide to other controllers that call upon them
[22:50:46] <jpstone> *they're
[22:51:03] <wafflejock> jpstone: no not true actually they are singletons
[22:51:06] <wafflejock> same as factories
[22:51:13] <alanp> yes, that is not true
[22:51:24] <wafflejock> that groups part should persist between uses/injections of that service
[22:51:28] *** GeertV_ has joined #angularjs
[22:51:32] <wafflejock> the first time it gets referenced it will create the object
[22:51:50] <wafflejock> jeffszusz: curious why you're doing the cb style instead of just returning the HTTPPromise from the $http callse
[22:51:50] *** richardbaker has joined #angularjs
[22:51:51] <wafflejock> calls*
[22:52:21] *** ch3pa has quit IRC
[22:52:28] <jpstone> wafflejock: what do you mean that they are "singletons"?
[22:52:56] <marcospgp> coffeescript burns my eyes, I got in there wanting to help came out with a severed cornea
[22:53:04] <jpstone> lol
[22:53:04] *** amedia has quit IRC
[22:53:07] <wafflejock> jpstone: http://en.wikipedia.org/wiki/Singleton_pattern
[22:53:21] <wafflejock> jpstone: basically like highlander "there can be only one"
[22:53:52] <wafflejock> except they don't murder each other with swords
[22:54:01] <jpstone> wafflejock: you mean that there can be only one object that it has returned the exists in the application?
[22:54:09] *** ReactiveIO has quit IRC
[22:54:31] *** cucha has joined #angularjs
[22:54:31] <wafflejock> typically you just have some structure setup in your code that checks if an instance has already been created and then you return that instance if it doesn't exist you create it, and like you said lives on so long as the app is running
[22:54:33] *** Aliks has quit IRC
[22:54:36] *** ASUChander has quit IRC
[22:54:43] *** ReactiveIO has joined #angularjs
[22:54:44] <wafflejock> angular just does the singleton part for you already
[22:54:54] <jpstone> What if another controller calls the same service?
[22:55:01] <wafflejock> jpstone: same instance gets used
[22:55:12] <jpstone> Ok...and that instance exists OUTSIDE of the service, right?
[22:55:40] <jpstone> or where does it exist?
[22:55:46] *** cucha has quit IRC
[22:56:01] <wafflejock> yeah I mean it is the service but it stands as a single instance of an object throughout the project... the $injector handles keeping track of these things but I couldn't point you to the line of code
[22:56:17] *** fedenunez has quit IRC
[22:56:46] <jpstone> So if something in the service changes, the old object is scrapped, and a new one is created
[22:56:51] <jpstone> ?
[22:56:51] <wafflejock> jpstone: here's an answer I have on SO that shows some examples http://stackoverflow.com/questions/20434767/syncing-data-between-controllers-through-a-service/20434851#20434851
[22:57:08] *** lw has quit IRC
[22:57:35] <wafflejock> jpstone: well if you overwrite the _groups then you will have created a new object there but generally speaking angular isn't destroying the service or factory ever
[22:57:36] *** justinobney has joined #angularjs
[22:57:43] *** ustunozgur has joined #angularjs
[22:58:10] <wafflejock> jpstone: btw I'm ShaunHusain IRL and on SO
[22:58:11] *** RedOrangeZ has quit IRC
[22:58:14] <jpstone> wafflejock: but if two different controllers call the same service, and that service contains API calls, those API calls will get called again, right?
[22:58:32] <wafflejock> jpstone: nope not if the controllers don't explicitly call those functions
[22:58:46] <wafflejock> drop a debugger; line in your service and see how many times it runs through the function
[22:58:49] <jpstone> Right, I was referring to those functions
[22:59:04] *** ReactiveIO has quit IRC
[23:00:03] *** krawchyk has quit IRC
[23:00:26] *** apetro_ has joined #angularjs
[23:00:28] *** bphogan is now known as bphogan_afk
[23:01:47] *** rodrigobaron has quit IRC
[23:01:48] <jpstone> wafflejock: reading your SO post... are you saying you should always use angular.copy if calling a service function that interacts with API endpoitns?
[23:01:56] *** Yahkob has quit IRC
[23:01:57] *** justinobney has quit IRC
[23:02:05] *** Guest____ has joined #angularjs
[23:02:28] <reduce> hrm, can i watch a property on a service?
[23:02:29] *** foo-bar- has quit IRC
[23:03:10] <ajk27> ishi: If you're still around, see if this implementation is a little easier to grok as a proof of concept: http://plnkr.co/edit/bVLNetgvRWhggz0PKqXH?p=preview
[23:03:15] <wafflejock> jpstone: yeah if you want to maintain 1 instance of an object it's very heplful to use angular.copy to replace all of it's contents
[23:03:25] *** Ericx2x has quit IRC
[23:03:27] <wafflejock> reduce: assign it to a scope property then watch that if you must
[23:04:21] <ishi> ajk27: thanks... will have a look :)
[23:04:31] <reduce> this solution is getting hackier by the minute
[23:04:35] <jpstone> so something like $resource('/api/endpoint').then(function (res) myObject = res; angular.copy(myObject, myNewObject); deferred.resolve(myNewObject)) ?
[23:04:38] *** GeertV_ has quit IRC
[23:04:41] <reduce> and thats not hacking in a good way
[23:05:06] *** homework1 has joined #angularjs
[23:05:08] <jpstone> or rather
[23:05:09] <ishi> ajk27: it doesn't seem to work at all :)
[23:05:13] *** GeertV_ has joined #angularjs
[23:05:15] <jpstone> angular.copy(res, myObject)
[23:05:24] <ishi> I see: Tag pretending to be title: Not yet retrieved{{title}}
[23:05:31] *** cthrax has joined #angularjs
[23:05:46] *** BillCriswell has quit IRC
[23:05:51] <wafflejock> reduce: why do you need to watch the thing explicitly? typically I only need to bind things from the view only time you want to watch in a controller is if the controller needs to further modify the data for display or other work
[23:05:53] <jpstone> I'll look up that old SO question you sent me :D
[23:05:57] <ishi> oh... I refreshed it 4 times and now it works :)
[23:05:58] *** drej has joined #angularjs
[23:06:18] *** tfennelly has quit IRC
[23:06:42] <wafflejock> ishi: didn't Foxandxss come up with a solution with a directive to update the title the other day?
[23:07:22] *** Aliks has joined #angularjs
[23:07:25] *** danizord has quit IRC
[23:07:32] *** hugorodrigues has joined #angularjs
[23:07:38] <reduce> wafflejock: i have a right click menu, after its opened it watches for clicks to know to close it, only thing is i am stopping propagation of clicks in certain places, so the menu isnt closing. One solution is to create a flag in a service, 'closeMenuFlag', which the code that stops the propagation sets
[23:08:13] <reduce> and so the right click menu directive would need to watch that property
[23:08:25] <reduce> sucky solution, but im not coming up with anything better
[23:08:48] *** mfunkie has joined #angularjs
[23:09:05] *** Ir1sh has quit IRC
[23:09:15] *** shackleford has joined #angularjs
[23:09:23] <reduce> i guess i could have a function in the sevrice, and set it to a closure from the right click menu directive, and call that function from the places that stop propagation
[23:09:28] <reduce> also a sucky solution
[23:09:30] <wafflejock> reduce: yeah I mean you can move things around to make it "cleaner" passing in the thing as an isolate scope property and then watching that but ultimately you're doing pretty much the same thing I think functionally
[23:09:33] *** GeertV_ has quit IRC
[23:09:46] *** kenjamin_ has quit IRC
[23:10:09] *** shacklef_ has joined #angularjs
[23:10:24] <ishi> wafflejock: yeah... the idea is there... but now I'm trying to get it to work :)
[23:10:25] *** shacklef_ has quit IRC
[23:10:35] *** bewl has joined #angularjs
[23:10:48] *** shacklef_ has joined #angularjs
[23:10:54] <wafflejock> reduce: you could also use $q.notify maybe and just have a promise you never resolve/reject but not sure there is a really clean solution
[23:11:04] *** rbw has quit IRC
[23:11:23] *** tk has joined #angularjs
[23:12:04] *** mennea has quit IRC
[23:12:36] <reduce> i wonder what happens if i change the value of a watched property from inside the watch function :p
[23:12:48] <wafflejock> reduce: I used this method the other day to get around bootstrap date picker not dealing with async disabled dates
[23:12:56] <wafflejock> promise with notify that is
[23:13:01] *** Limix has quit IRC
[23:13:04] <ishi> ajk27: I'd really like this solution if it worked!
[23:13:18] <ishi> at least factory seems to be a factory the way I understand it
[23:13:22] <ishi> it produces an object
[23:13:23] *** taybin has quit IRC
[23:13:28] <wafflejock> I passed the promise to the directive then made it so it calls refresh anytime I trigger notify so I would have an easy way to trigger it to refresh after I got all the data I needed
[23:13:36] <reduce> ishi: i think it caches that object though, very confusing
[23:13:44] *** shackleford has quit IRC
[23:14:11] <ishi> reduce: well... caching is a good thing here
[23:14:17] <ishi> (so 2nd point)
[23:14:19] *** cerivera has joined #angularjs
[23:14:23] <ishi> the only problem is that it doesn't work
[23:14:32] *** mary5030 has joined #angularjs
[23:14:40] *** jpstone has quit IRC
[23:14:41] *** nicholaswyoung has joined #angularjs
[23:14:51] *** shacklef_ has quit IRC
[23:14:57] <ishi> strangely enough if I modify the script in *any way* (add a space, say), it works
[23:15:00] *** cerivera has left #angularjs
[23:15:01] *** shackleford has joined #angularjs
[23:15:11] <ishi> but when I 'force reload', it fails again
[23:15:14] *** FIFOd[a] has quit IRC
[23:15:18] *** marcospgp has quit IRC
[23:15:38] *** thebigredgeek has joined #angularjs
[23:15:48] *** cerivera has joined #angularjs
[23:16:14] *** dc_ has quit IRC
[23:16:31] *** Limix has joined #angularjs
[23:17:05] *** jtimon has quit IRC
[23:17:22] <ishi> fsck... that's what I'm afraid of...
[23:17:26] *** cerivera has left #angularjs
[23:17:31] <thebigredgeek> does anyone here use Atom?
[23:18:01] <robdubya> yea
[23:18:04] <ishi> I can't imagine a simpler case: read a simple object, display it...
[23:18:06] *** josh-k has quit IRC
[23:18:09] <reduce> started using webstorm when i was learning angular, 6 days evaluation to go, considering purchasing it
[23:18:21] *** kvnm has joined #angularjs
[23:18:34] *** josh-k has joined #angularjs
[23:19:02] <ishi> and yet it bloody well causes so much problems... and I have this slight unease that it's all a matter of very delicate timing
[23:19:02] <robdubya> ishi what are you doing now?
[23:19:09] <ishi> robdubya: the same thing
[23:19:10] *** hugorodrigues has quit IRC
[23:19:26] <ishi> robdubya: http://plnkr.co/edit/bVLNetgvRWhggz0PKqXH?p=preview --- ajk27 came up with it
[23:19:32] <ishi> I like it, but it doesn't work
[23:19:34] *** dmamills has quit IRC
[23:19:42] *** josh-k has quit IRC
[23:20:00] *** josh-k has joined #angularjs
[23:20:18] <robdubya> what is it with you people and success
[23:20:20] <robdubya> jesus
[23:20:22] *** cphil has quit IRC
[23:20:23] <robdubya> just let it go
[23:20:35] <JimTheDev> lol
[23:20:46] <ishi> well... just ignore it
[23:20:52] *** jsoverson has quit IRC
[23:21:00] <ishi> imagine that you see then() in its place
[23:21:10] <robdubya> .then (hah) its wrong
[23:21:30] <robdubya> let me see if i understand this
[23:21:31] *** IanOlson has joined #angularjs
[23:21:46] <robdubya> you need the setting before doing other stuff, but getting the setting is async?
[23:22:11] *** ngoyal has quit IRC
[23:22:13] <JimTheDev> reduce: you can get the phpstorm EAP for free for now.
[23:22:23] *** sdouglas has joined #angularjs
[23:22:33] *** Brocken is now known as zz_Brocken
[23:22:39] <ishi> robdubya: well... if you put it like this, yes
[23:22:44] *** kvnm has quit IRC
[23:22:48] *** mettjus has joined #angularjs
[23:22:49] *** partikus has joined #angularjs
[23:22:59] <robdubya> but obviously you dont want to fetch it 11ty times
[23:23:03] <robdubya> (from the API)
[23:23:05] <robdubya> yes?
[23:23:08] <ishi> that's correct
[23:23:18] <ishi> (which is why I liked the newest solution ;) )
[23:23:28] *** ReactiveIO has joined #angularjs
[23:23:30] *** xaxisx has joined #angularjs
[23:23:41] *** krawchyk has joined #angularjs
[23:23:55] <thebigredgeek> thinking of switching back to VIM
[23:24:01] <ajk27> robdubya: ishi: I just made another update to it, I'm sure it's still non-ideal but it seems to pull some data now. I was trying to get rid of the promise-of-a-promise approach that was in place prior.
[23:24:02] <thebigredgeek> These editors have a productivity cap :(
[23:24:13] *** jeffszusz has quit IRC
[23:24:21] <ishi> ajk27: oh... :)
[23:24:30] <ishi> ajk27: thanks :)... having a look
[23:25:14] <reduce> came across this random tidbit on SO "Isolate scope properties bound with @ are not immediately available in the linking function"
[23:25:37] <reduce> i thought i had used @ properties in linking functions without issue before
[23:25:49] <ajk27> ishi: You're in better hands with robdubya honestly, but russian doll promises always seem unnecessarily convoluted to me.
[23:25:59] *** m3l720 has joined #angularjs
[23:26:07] *** jonog has joined #angularjs
[23:26:22] *** partikus has quit IRC
[23:26:26] *** bphogan_afk is now known as bphogan
[23:26:48] *** disorder20 has quit IRC
[23:26:54] <ishi> ajk27: well... I must say that I like your solutions :)
[23:26:55] *** cctom_ has quit IRC
[23:27:04] <ishi> (I liked even the one which didn't work)
[23:27:10] <ishi> at least they are easy to understand
[23:27:14] *** apetro_ has quit IRC
[23:27:48] <ajk27> ishi: Ha, well glad it helped somewhat. If that version is easy to understand, I hope the improved one will be too :)
[23:27:56] *** kvnm has joined #angularjs
[23:28:07] <ishi> yeah... the new is even better
[23:28:38] *** ceephax has quit IRC
[23:28:38] <ishi> however, I'm afraid that this 'watching' could have some perf. implications...
[23:28:50] <ishi> and I'd like to figure out a general approach...
[23:29:02] <robdubya> ishi http://plnkr.co/edit/5C4QvRum821A0GbVCtrZ?p=preview
[23:29:06] <ajk27> ishi: Oh I meant whatever replaces mine. As I said, my plunk is admittedly non-ideal. It was just a 'watch what happens' sort of thing.
[23:29:15] <reduce> that might be an old issue, https://github.com/angular/angular.js/pull/1488
[23:29:17] <ishi> I hope that I'll not have to 'watch' everything I retrieve from API
[23:29:18] <robdubya> that's how i'd do the service bit, not quite sure what you're doing in the controller, so maybe explain that bit
[23:29:34] <wafflejock> ishi: http://plnkr.co/edit/kYsFn8AIlN5Bdxt6Sc7M?p=preview
[23:29:49] *** Hackwar1 has quit IRC
[23:30:13] *** jonog has quit IRC
[23:30:13] <robdubya> if its something you only ever are going to fetch once, its FAR easier to use resolve
[23:30:17] *** Ericx2x has joined #angularjs
[23:30:20] *** jsoverson has joined #angularjs
[23:30:24] <ishi> robdubya: I want to set 'active' on the clicked menu item
[23:30:34] *** IanOlson has quit IRC
[23:30:41] <wafflejock> ishi: see the plunkr I made a directive that watches a property and updates the title of the document
[23:30:41] *** quantax- has joined #angularjs
[23:30:44] <ishi> robdubya: and I'd like to have it active if the menu became 'activated' by URL
[23:30:48] <wafflejock> ishi: it shouldn't matter where the data comes from
[23:31:13] <robdubya> ishi "activated by the url" - as in, you're trying to do some sort of navigation?
[23:31:16] <ishi> wafflejock: thanks... :)
[23:31:18] <mmitchell> i'm converting a module in my app from using $scope to "controller as" syntax. Previously, a sub-controller would get access to a parent controller's scope via $scope.$parent.foo -- but with "controller as", how does my sub-controller access the parent controller?
[23:31:23] <reduce> ok, dumb question, how can i bind to a property from within the linking function using scope?
[23:31:24] *** holymac has quit IRC
[23:31:32] <robdubya> mmitchell just use the parent controller's name
[23:31:37] <ishi> I think I'll make branches of all of those solutions and try to learn from them :)
[23:31:39] <wafflejock> reduce: see the plnkr I just dropped to ishi
[23:31:41] <robdubya> parentController.thing
[23:32:19] <robdubya> ishi if you're trying to do navigation, there's a number of preexisting solutions w/o reinventing the wheel
[23:32:24] *** holymac has joined #angularjs
[23:32:33] *** morenoh149 has quit IRC
[23:32:36] *** cthrax has quit IRC
[23:32:38] <homework1> Can someone help me with a tricky authentication setup? I have a rails API app that serves up the login page, then I have a separate angular app. I need to take the token returned by the rails app and put it in local storage. How do I do that?
[23:32:40] <robdubya> keep in mind, that locaiton (like everything else) is just a service
[23:32:46] <mmitchell> robdubya: ahh ok. Is there anyway to not have to reference it by name and instead pass it in or something?
[23:32:58] *** shackleford has quit IRC
[23:33:00] <robdubya> mmitchell that's sort of the point of controllerAs
[23:33:22] *** mfunkie has quit IRC
[23:33:31] *** subnl has joined #angularjs
[23:33:35] *** scmx has quit IRC
[23:33:44] *** cthrax has joined #angularjs
[23:33:55] <mmitchell> yeah true, but it requires my sub controller know the name of its parent which feels kinda leaky. Maybe I'm over thinking this! :)
[23:34:09] <robdubya> mmitchell no, i'd agree with that (its too coupled)
[23:34:16] *** Aliks has quit IRC
[23:34:29] <reduce> wafflejock: you set a property on the scope to the value something passed in to the func on the controller, and you setup an isolated scope in the directive to accept a property from the html to bind to there
[23:34:34] <robdubya> but that's a design issue generally vs a controllerAs / $scope issue
[23:34:37] *** xaxisx has quit IRC
[23:34:39] *** Guest58909 has quit IRC
[23:34:59] <reduce> wafflejock: i want to replicate what happens when a user sets a '=' isolated property within the linking function
[23:35:03] <robdubya> half a dozen of one, 6 of the other, your child controller is still depenedent on the parent
[23:35:04] *** carif has quit IRC
[23:35:17] *** krawchyk has quit IRC
[23:35:25] *** whunt_ has joined #angularjs
[23:35:44] <reduce> or, i could just pass a function as 1st argument to $watch and leave the scope clean, hrm
[23:35:58] <robdubya> ishi are you doing a navbar or wat?
[23:36:19] <wafflejock> reduce: yeah sorry not entirely clear to me what the problem is there would need to see some code I think?
[23:36:25] <ishi> robdubya: I was using this as an excercise, but yes, finally I'd like to do navigation... would you point me to an existing thing? I'm using angular-route
[23:36:28] *** jobelenus has quit IRC
[23:36:34] *** zwacky has quit IRC
[23:36:36] *** francisl has quit IRC
[23:36:38] <ishi> robdubya: yes, it's supposed to be a simple navbar...
[23:36:57] *** gnarMatix has joined #angularjs
[23:37:00] *** Limix has quit IRC
[23:37:07] *** vbabiy has quit IRC
[23:37:10] *** kenjamin_ has joined #angularjs
[23:37:23] <wafflejock> ishi: would recommend you check out ui-router just a heads up ngRoute is good for the basics but once you want nested views or saving deep links for various states of the site ui-router is much better at that stuff
[23:37:27] <gnarMatix> hey guys, does anyone know what happens internally when the contents of an ng-repeat change?
[23:37:33] *** whunt has quit IRC
[23:37:55] <robdubya> ishi http://plnkr.co/edit/LZTqdd?p=preview <- ui-router
[23:38:07] *** patrickarlt has joined #angularjs
[23:38:08] <robdubya> the ui-sref-active on layout.html is doing what you're asking about
[23:38:09] *** yoshokatana has quit IRC
[23:38:11] <mmitchell> gnarMatix: i read through this last week, pretty useful: http://liamkaufman.com/blog/2013/05/13/understanding-angularjs-directives-part1-ng-repeat-and-compile/
[23:38:20] *** michaelm has quit IRC
[23:38:48] <wafflejock> gnarMatix: believe it typically empties out the list unless it has a track by so it knows which elements to remove or to create or modify if that's what your asking
[23:38:53] <ishi> robdubya: wow... that's really nice :)
[23:38:56] <ishi> robdubya: thanks :)
[23:39:05] *** akrikos has quit IRC
[23:39:09] <gnarMatix> mmitchell: thx will look at it
[23:39:09] <wafflejock> gnarMatix: if you really want to know though I would just step through the source for the ng-repeat directive as far as you can go
[23:39:17] *** thepeculiarform has joined #angularjs
[23:39:28] <ishi> however, I'll still use what I learnt reinventing my wheel :)
[23:39:51] <wafflejock> ah yeah will read the article too thx mmitchell
[23:39:52] <ishi> only not for navigation :)
[23:40:07] *** JudeArasu has joined #angularjs
[23:40:09] *** jeffszusz has joined #angularjs
[23:40:13] <mmitchell> sure! :)
[23:40:14] <gnarMatix> wafflejock: yes I have a weird delay that's happening when I filter elements
[23:40:15] *** tomzx`afk is now known as tomzx
[23:40:31] <wafflejock> gnarMatix: have you tried using the CPU profiler in chrome to narrow it down?
[23:40:52] <gnarMatix> wafflejock: the elements that match the filter are added. then there is a 1s delay. then the elements that do not match the elmeents are removed. However both adding & removing are done instantly. I odn't think it's a performance thing..
[23:41:10] *** gnrlbzik has quit IRC
[23:41:20] *** morenoh149 has joined #angularjs
[23:41:21] <wafflejock> gnarMatix: it can be really helpful if you use unminifed source when you profile... so you're saying the filtering is the only part that's delayed?
[23:41:32] *** bkuberek has quit IRC
[23:41:41] <gnarMatix> wafflejock: no i haven't. i don't know what the profiler is but i'll do some googling
[23:41:43] *** gnrlbzik has joined #angularjs
[23:41:56] *** st0ned has quit IRC
[23:42:00] <gnarMatix> wafflejock: i have unminified source. i tried stepping through briefly but thought I would ask here before jumping into it
[23:42:05] <wafflejock> gnarMatix: it's in the regular debug panel in chrome just click the profiling tab in there and it has CPU profile but yeah google some
[23:42:34] *** Snugug has quit IRC
[23:42:41] *** patrickarlt has quit IRC
[23:43:00] *** bsmithgall has quit IRC
[23:43:09] <gnarMatix> wafflejock: yes, filtering is the only issue. I have a filter based on rating (e.g. only results with 4 stars). when I go from a set with more results to a set with less results, you can see that the new set is pushed to the front of the ng-repeat, but the old set remains at the back of the ng-repeat for 1 second. then, it is removed.
[23:43:16] <homework1> Can someone help me with a tricky authentication setup? I have a rails API app that serves up the login page, then I have a separate angular app. I need to take the token returned by the rails app and put it in local storage. How do I do that?
[23:43:26] *** Nizumzen has joined #angularjs
[23:43:38] *** shackleford has joined #angularjs
[23:43:44] *** jbourassa has joined #angularjs
[23:43:52] *** AngularUI has joined #angularjs
[23:43:52] <AngularUI> [bootstrap] rasmusvhansen opened pull request #2462: feat(dropdown): Added dropdownMenu directive to use for context menus (master...master) http://git.io/rEbY2A
[23:43:52] *** AngularUI has left #angularjs
[23:43:52] *** bsmithgall has joined #angularjs
[23:43:53] *** Gambit- has quit IRC
[23:44:09] *** dariocravero has joined #angularjs
[23:44:44] *** tomzx is now known as tomzx`afk
[23:44:47] *** forcer has quit IRC
[23:44:56] *** jbourassa has quit IRC
[23:44:58] <wafflejock> homework1: it's not clear from your description of the problem if you need to know how to store the token using the rails side or if there is a clear line of separation between your front end and backend where they pass JSON "encoded" messages
[23:45:23] <gnarMatix> homework1: why not include login in the angular app
[23:45:26] *** nanoyak has quit IRC
[23:45:34] *** edrocks has quit IRC
[23:45:43] <gnarMatix> wafflejock: i think his difficulty is in passing the token from login to the angular app
[23:45:57] *** instence has quit IRC
[23:46:03] *** instence has joined #angularjs
[23:46:03] *** gnrlbzik has quit IRC
[23:46:04] *** _jpfm has joined #angularjs
[23:46:19] *** jbourassa has joined #angularjs
[23:46:58] <homework1> yup gnarMatix
[23:47:04] *** SpearThruster has quit IRC
[23:47:12] <homework1> can't do the login from angular for business reasons
[23:47:29] <robdubya> homework1 easy way would be to redirect to the angular app, with the token in the URL
[23:47:31] <homework1> we have another app that does it this way, but the guy who built it isn't here
[23:47:35] *** cotko has joined #angularjs
[23:47:43] <robdubya> and then snatch it inside a service from $location
[23:47:47] <homework1> also too add another layer of confusion we have to support google oauth
[23:47:59] *** teslanick has left #angularjs
[23:48:09] *** MIR100 has quit IRC
[23:48:17] *** MIR100 has joined #angularjs
[23:48:20] *** Mouzi has quit IRC
[23:48:38] *** senayar has joined #angularjs
[23:48:48] *** dc_ has joined #angularjs
[23:49:23] *** carif has joined #angularjs
[23:49:49] *** icfantv has quit IRC
[23:50:20] *** rburns has quit IRC
[23:50:34] *** dcherman2 has quit IRC
[23:50:45] *** Willow has quit IRC
[23:51:19] *** Willow has joined #angularjs
[23:51:26] *** carif has quit IRC
[23:51:27] <jpiasetz> Why does the angular homepage do this "myForm.name.$error.required && !myForm.name.$pristine" instead of "myForm.name.$error.required && myForm.name.$dirty"
[23:51:32] *** cboden has quit IRC
[23:51:36] *** Fishy has joined #angularjs
[23:51:52] *** UniBot has joined #angularjs
[23:52:00] <homework1> so you grab the token with $location.search().t ?
[23:52:16] *** tomzx`afk is now known as tomzx
[23:52:25] <homework1> but how do I add the token to local storage in the first place? Does rails handle that part
[23:52:47] *** dylukes has quit IRC
[23:52:49] *** walden is now known as walden|afk
[23:52:50] *** JudeArasu has quit IRC
[23:52:55] *** dbouwman has joined #angularjs
[23:52:58] *** senayar has quit IRC
[23:53:42] <robdubya> homework1 no, you have to od that
[23:53:53] <robdubya> (and yeah, grab it from $location.search
[23:53:57] *** wolfman2000 has joined #angularjs
[23:54:33] *** hswolff has quit IRC
[23:54:35] *** jonnybro has quit IRC
[23:54:38] *** rho has quit IRC
[23:55:02] *** teplica has quit IRC
[23:55:05] *** nanoyak has joined #angularjs
[23:55:21] *** dylukes has joined #angularjs
[23:55:36] *** spencercarnage has quit IRC
[23:55:47] *** Willow has quit IRC
[23:56:15] *** HypnotiX has joined #angularjs
[23:56:27] *** shackleford has quit IRC
[23:56:39] *** AngularUI has joined #angularjs
[23:56:39] <AngularUI> [bootstrap] rasmusvhansen closed pull request #2462: feat(dropdown): Added dropdownMenu directive to use for context menus (master...master) http://git.io/rEbY2A
[23:56:39] *** AngularUI has left #angularjs
[23:57:18] *** kreeves has quit IRC
[23:57:38] *** dariocravero has quit IRC
[23:57:55] *** bphogan is now known as bphogan_afk
[23:57:59] *** szychowsk has joined #angularjs
[23:58:21] *** justinobney has joined #angularjs
[23:58:36] *** dcherman has joined #angularjs
[23:59:34] *** doodlehaus has quit IRC
[23:59:44] *** dariocravero has joined #angularjs
[23:59:51] *** `petey` has quit IRC
top

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