Switch to DuckDuckGo Search
   December 30, 2015  
< | 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:01:38] *** illume has quit IRC
[00:02:28] *** miqid has joined #angularjs
[00:03:34] *** skcin7 has quit IRC
[00:03:36] *** Burgerz has joined #angularjs
[00:03:59] *** dpicky has quit IRC
[00:04:07] *** dpicky has joined #angularjs
[00:04:26] *** siba has quit IRC
[00:05:46] *** boneskull is now known as boneskull[away]
[00:08:00] *** zeioth_ has joined #angularjs
[00:09:52] *** zeioth has quit IRC
[00:10:07] *** madhums has quit IRC
[00:10:30] *** siba has joined #angularjs
[00:11:48] *** Sky[x] has joined #angularjs
[00:12:25] *** diosney has quit IRC
[00:14:12] *** iceball has joined #angularjs
[00:15:41] *** Sky[x] has quit IRC
[00:16:18] *** senayar has quit IRC
[00:16:34] *** s3shs has quit IRC
[00:18:44] *** DJDelusional has quit IRC
[00:20:08] *** freeyon has joined #angularjs
[00:20:39] <freeyon> howdy
[00:20:47] *** Eadaro has quit IRC
[00:20:55] <freeyon> I have a question on expressions
[00:21:00] <freeyon> and gist
[00:21:43] *** bcSquared has quit IRC
[00:22:05] *** boneskull[away] is now known as boneskull
[00:22:14] *** johnnyfive has quit IRC
[00:22:21] *** marcdel has quit IRC
[00:22:23] *** zz_dimtruck is now known as dimtruck
[00:22:33] <freeyon> Im trying to use the command <gist id="{{ detail._id_num }}"></gist>...but for some reason, chrome doesnt recognize the expression
[00:23:15] <freeyon> The GET req just returns 'http://gist.github.com/.js'
[00:24:03] *** chairmanmow has quit IRC
[00:25:22] *** dabdab has quit IRC
[00:26:46] *** jbarket has quit IRC
[00:28:04] *** freeyon has quit IRC
[00:28:10] *** Eadaro has joined #angularjs
[00:28:12] *** dpicky has quit IRC
[00:28:27] *** s3shs has joined #angularjs
[00:28:34] *** zquad has joined #angularjs
[00:28:46] <zquad> what's going on with angular2?
[00:29:10] <zomg> angular2 has been canceled in favor of jquery2
[00:29:20] *** marcdel has joined #angularjs
[00:29:55] <zomg> (read: I have no idea)
[00:31:05] <zquad> zomg: are you fucking with me?
[00:31:06] <zquad> :)
[00:31:12] <zomg> yes :P
[00:31:19] <zquad> :)
[00:32:34] *** dimtruck is now known as zz_dimtruck
[00:33:25] *** buzzedword has joined #angularjs
[00:34:29] <zquad> zomg: is there an offical release date?
[00:36:19] *** Poeticode has joined #angularjs
[00:36:36] <zomg> as mentioned I have no idea :) I've not really been following it very actively
[00:36:53] <zomg> we've got a fairly big angular 1 codebase at work which is not going anywhere just yet
[00:37:26] <zquad> aight thanks
[00:37:45] *** davi has quit IRC
[00:37:55] *** buzzedword has quit IRC
[00:38:27] *** macabre has quit IRC
[00:38:37] <da_wunder> zquad: ng2 is on beta, no official release date
[00:38:55] <zquad> da_wunder: thanks
[00:39:10] <da_wunder> my guess is next summer / autumn
[00:39:16] <da_wunder> but that is just a guess
[00:39:22] <da_wunder> might be sooner or later
[00:40:01] <da_wunder> + after that you have just "brand new" framework, which don't have so many 3rd party libraries
[00:40:20] <da_wunder> so you have to wait those too, or manage those some other way
[00:41:35] *** buzzedword has joined #angularjs
[00:44:52] *** Godskalk has joined #angularjs
[00:44:58] *** krusty_ar has quit IRC
[00:45:21] *** Aliks has joined #angularjs
[00:45:35] *** morissette has quit IRC
[00:45:47] *** itaipu has quit IRC
[00:45:58] <Godskalk> if i have an array like this in ang2: http://pastebin.com/EbNuSScs is there an easy way to select one of them if i know what the "slug" is, if i only want to retrieve one of them? instead of iterating trough the list
[00:46:11] *** marcdel_ has joined #angularjs
[00:46:23] *** morissette has joined #angularjs
[00:48:33] *** Guest11917 has quit IRC
[00:48:47] *** marcdel has quit IRC
[00:50:04] *** SkoalBanditExpr has joined #angularjs
[00:54:22] *** SkoalBanditExpr_ has joined #angularjs
[00:54:47] *** SkoalBanditExpr has quit IRC
[00:56:17] <da_wunder> Godskalk: sounds like i would just use lo-dash
[00:56:58] <da_wunder> eg. https://lodash.com/docs#find
[01:00:39] *** sarafecadu has joined #angularjs
[01:01:05] *** Mediogre has joined #angularjs
[01:02:32] *** buzzedword has quit IRC
[01:02:33] *** p0k0 has quit IRC
[01:03:31] *** kopasetik has quit IRC
[01:03:59] *** eago has quit IRC
[01:03:59] *** kopasetik has joined #angularjs
[01:05:29] *** nanuko has quit IRC
[01:06:52] *** jbarket has joined #angularjs
[01:08:30] *** bbankes has quit IRC
[01:09:34] *** MrBaboon has joined #angularjs
[01:09:45] <apricity> does angular have a datepicker?
[01:10:27] *** VictorCL has joined #angularjs
[01:10:30] *** sbasso has quit IRC
[01:10:58] *** bePolite has joined #angularjs
[01:11:18] *** FIFOd has joined #angularjs
[01:12:45] *** pbgc has quit IRC
[01:12:54] <miqid> apricity, angular-ui should do.
[01:13:34] *** ilmgb has quit IRC
[01:13:34] *** xdotcommer has quit IRC
[01:14:03] *** xdotcommer has joined #angularjs
[01:14:56] *** burzum2 has joined #angularjs
[01:15:07] *** zz_dimtruck is now known as dimtruck
[01:15:10] *** iceball has quit IRC
[01:18:49] *** tobias47n9e_ has joined #angularjs
[01:19:10] *** burzum has quit IRC
[01:19:51] *** villev has quit IRC
[01:19:55] *** burzum2 has quit IRC
[01:21:04] *** AnguMat has joined #angularjs
[01:21:40] <AnguMat> Hello, I am having an issue with angular2 and the router vendor/angular2/bundles/router.dev.js
[01:21:50] *** s3shs has quit IRC
[01:22:38] *** speeddra_ has quit IRC
[01:22:40] *** tobias47n9e__ has quit IRC
[01:23:11] *** rho has quit IRC
[01:25:18] *** cocao has quit IRC
[01:25:21] <AnguMat> My base and child routes are working as desired when used with [routerLink], and will show the correct URL in the browser for the child route (e.g. http://localhost:4200/DE/NI). However, when refreshing the page or going to the route directly displays "Cannot GET /DE/NI" with no console output'
[01:25:21] *** macmod has joined #angularjs
[01:25:39] *** zquad has left #angularjs
[01:25:44] *** ron_frown has joined #angularjs
[01:27:07] *** FIFOd has quit IRC
[01:27:19] *** quakephil has quit IRC
[01:27:29] *** quakephil has joined #angularjs
[01:27:48] *** buzzedword has joined #angularjs
[01:28:55] *** buzzedword has quit IRC
[01:30:14] *** fedenunez1 has joined #angularjs
[01:32:38] *** fedenunez has quit IRC
[01:32:41] *** kgee has quit IRC
[01:33:09] *** kgee has joined #angularjs
[01:33:34] *** senayar has joined #angularjs
[01:34:09] *** macmod has quit IRC
[01:36:45] *** Rou has joined #angularjs
[01:36:47] *** Aliks has quit IRC
[01:38:36] *** JBreit has quit IRC
[01:39:21] *** VictorCL has quit IRC
[01:39:45] *** VictorCL has joined #angularjs
[01:40:03] *** ilmgb has joined #angularjs
[01:41:24] *** lnrdo has joined #angularjs
[01:42:13] *** swordfish has quit IRC
[01:42:25] *** swordfish has joined #angularjs
[01:43:05] *** gumatias has joined #angularjs
[01:43:54] *** mnzaki has quit IRC
[01:44:47] *** fedenunez has joined #angularjs
[01:45:46] <AnguMat> Hello, is there anyone here somewhat familiar with angular2 routing
[01:46:06] *** lnrdo has quit IRC
[01:46:35] *** swordfish has quit IRC
[01:46:41] *** fedenunez1 has quit IRC
[01:48:38] *** LeBlaaanc has quit IRC
[01:48:43] <gumatias> hi guys, wondering if I have some luck asking here
[01:48:44] *** macabre has joined #angularjs
[01:48:59] <gumatias> I'm having some memory leak issue in my angular specs
[01:49:18] <gumatias> was wondering if someone had some ideas
[01:49:27] *** LeBlaaanc has joined #angularjs
[01:49:37] <gumatias> there's more detail here with some heap profiling I've done
[01:49:38] <gumatias> http://stackoverflow.com/questions/34510048/angular-mocha-memory-leak
[01:50:29] <gumatias> is anyone able to help me out? thanks!
[01:50:46] *** LeBlaaanc has quit IRC
[01:52:14] *** jbarket has quit IRC
[01:52:34] *** Bomber4Chats_ has joined #angularjs
[01:52:54] *** BeLi4L has quit IRC
[01:54:36] *** FIFOd has joined #angularjs
[01:56:10] <AnguMat> Make sure to do afterEach for cleanup
[01:59:16] *** krusty_ar has joined #angularjs
[01:59:25] *** fscala has quit IRC
[02:00:29] *** ninkotech has joined #angularjs
[02:00:30] <gumatias> got it! I thought the clean up would happen implicitly after each suite has finished
[02:00:55] *** fscala has joined #angularjs
[02:01:22] *** encryptd_fractal has joined #angularjs
[02:01:32] *** doodlehaus has joined #angularjs
[02:01:47] <AnguMat> It does do some cleanup, but not everything is always cleaned
[02:02:28] <AnguMat> If you have your specs split into many describe functions, you can put 'x' in front of them to stop them from running
[02:02:32] <AnguMat> xdescribe
[02:02:55] *** fees has quit IRC
[02:03:22] <AnguMat> I know it is hard to run tests individually, but it may help you track down a certain test that is not coded correctly
[02:03:54] <AnguMat> you can also do xit
[02:04:06] <AnguMat> *with certain versions of karma/jasmine
[02:04:19] *** Imaginativeone has joined #angularjs
[02:04:25] <gumatias> got it
[02:04:34] <gumatias> I'm actually using Mocha
[02:04:48] <Imaginativeone> I have a form that uses a controller...
[02:04:49] <Imaginativeone> ...how do I adapt it for use with a different controller?
[02:05:26] *** encryptd_fractal has quit IRC
[02:05:46] *** s3shs has joined #angularjs
[02:06:33] *** s3shs has quit IRC
[02:06:33] <AnguMat> imaginativeone - Is your form using ngmodel?
[02:06:48] <Imaginativeone> kinda
[02:06:55] <Imaginativeone> angular-formly
[02:07:11] *** s3shs has joined #angularjs
[02:08:18] *** speeddra_ has joined #angularjs
[02:08:41] <AnguMat> I don't have any experience with angular-formly. What is the reason for the need of the new controller?
[02:09:05] <Imaginativeone> Form #1 is used to enter new data
[02:09:33] <Imaginativeone> Form #2 will be used to populate the re-usable form and make it available for updates
[02:10:13] *** codeitloadit has joined #angularjs
[02:10:25] <da_wunder> is there a really need different controllers?
[02:10:48] <Imaginativeone> possibly not
[02:11:05] <da_wunder> one directive to make that form, which has common controller
[02:11:23] <Imaginativeone> damn you're good
[02:11:26] <da_wunder> then in your views, which uses different controllers just attach that directive with some params
[02:11:37] <Imaginativeone> the Angular guru of our office set it up that way
[02:12:02] *** speeddra_ has quit IRC
[02:12:12] *** Bomber4Chats_ has quit IRC
[02:12:19] <Imaginativeone> are you open to looking at my code a bit later?
[02:12:48] *** phrozensilver has joined #angularjs
[02:12:55] <da_wunder> actually nope, it's really late in here
[02:13:01] <da_wunder> 03:12
[02:13:37] <Imaginativeone> or, is there a resource for knowing how to do this?
[02:14:02] <da_wunder> angular docs generally
[02:14:11] *** doodlehaus has quit IRC
[02:14:38] *** ESpiney has quit IRC
[02:15:02] *** Aliks has joined #angularjs
[02:15:06] <Imaginativeone> cool...I'll have to check that out
[02:16:15] <AnguMat> Are the forms on different pages?
[02:17:49] <da_wunder> how that makes things different?
[02:19:17] <AnguMat> Well, directive is probably the way to go, but if they are on same page maybe the two forms might not be needed.
[02:19:38] <AnguMat> Or if there are any differences in the forms
[02:19:55] <Imaginativeone> There are differences in the forms
[02:20:19] <da_wunder> i mean simple like this <your-own-form data-form="vm.someData"></our-own-form>
[02:20:26] <Imaginativeone> In one of the use-cases an empty form appears...waiting for data
[02:20:37] <da_wunder> then that directive has it own controller with isolated scope
[02:20:57] <Imaginativeone> Yes
[02:20:59] *** ccoff has joined #angularjs
[02:21:04] <da_wunder> and then you should easily to check that data-form if it's edit or create action
[02:21:10] *** speeddra_ has joined #angularjs
[02:21:11] *** ccoff has quit IRC
[02:21:18] <da_wunder> and same with those differences too
[02:21:27] <Imaginativeone> The other use-case has pre-populated controls
[02:22:00] <Imaginativeone> what mechanism will I use to "check" the respective uses?
[02:22:23] <da_wunder> usually you have somekind of id if record exists
[02:23:01] <Imaginativeone> how does that id switch between controller-types?
[02:23:16] *** ron_frown has quit IRC
[02:24:05] <da_wunder> you pass that data-form object to that controller, and then you could just simple do var existingRecord = vm.form.id ? true : false;
[02:24:05] *** ico has quit IRC
[02:24:38] <Imaginativeone> EXCELLENT
[02:24:46] <Imaginativeone> shall I tell you how it goes tomorrow?
[02:25:01] <da_wunder> can't promise anything
[02:25:12] <Imaginativeone> :-)
[02:25:51] *** anjumkaiser has joined #angularjs
[02:27:54] *** LabCoatNomad has quit IRC
[02:29:35] *** Aliks has quit IRC
[02:30:46] *** smccarthy has quit IRC
[02:31:26] *** Aliks has joined #angularjs
[02:32:04] *** codeitloadit has quit IRC
[02:35:12] <Poeticode> $q would like to have a word with you, da_wunder :P
[02:37:40] *** JBreit has joined #angularjs
[02:37:47] *** johnnyfive has joined #angularjs
[02:38:41] *** jbarket has joined #angularjs
[02:40:02] *** marr has quit IRC
[02:42:04] *** harlan_44 has joined #angularjs
[02:43:55] *** dopesong has quit IRC
[02:48:51] *** speeddra_ has quit IRC
[02:52:47] *** sbellina has joined #angularjs
[02:53:26] *** gambl0re has joined #angularjs
[02:54:06] *** ron_frown has joined #angularjs
[02:57:40] *** rickmak has joined #angularjs
[02:59:46] *** sbellina has quit IRC
[03:00:12] *** kopasetik has quit IRC
[03:02:16] *** gumatias has quit IRC
[03:02:50] *** harlan_44 has quit IRC
[03:03:00] *** p0k0 has joined #angularjs
[03:04:01] *** fedenunez has quit IRC
[03:04:24] *** iraj has quit IRC
[03:04:58] *** fedenunez has joined #angularjs
[03:06:01] *** hefox has quit IRC
[03:06:11] *** s3shs has quit IRC
[03:08:25] *** MrBaboon has quit IRC
[03:11:15] *** kgee has quit IRC
[03:18:36] *** FIFOd has quit IRC
[03:19:08] *** dodobrain has joined #angularjs
[03:19:36] *** zivester has quit IRC
[03:20:41] *** zivester has joined #angularjs
[03:23:28] *** DrShoggoth has joined #angularjs
[03:24:30] *** jhirley has quit IRC
[03:24:44] *** devJunk has joined #angularjs
[03:25:53] *** gladely has quit IRC
[03:26:13] *** Aliks has quit IRC
[03:26:24] *** conan_the_destro has quit IRC
[03:26:40] *** Aliks has joined #angularjs
[03:27:43] *** Aliks_ has joined #angularjs
[03:28:46] *** kakashiAL has joined #angularjs
[03:29:19] *** devJunk has quit IRC
[03:29:50] *** lnrdo has joined #angularjs
[03:30:56] *** Aliks has quit IRC
[03:33:17] *** kakashiAL has joined #angularjs
[03:34:09] *** sbellina has joined #angularjs
[03:34:19] *** lnrdo has quit IRC
[03:34:49] <kakashiAL> I want to test angular with mocha, but how can I tell mocha where angular and angular-mocks is?
[03:37:26] *** itaipu has joined #angularjs
[03:40:01] <senayar> just need to add into the karma.conf
[03:40:02] *** Rou has quit IRC
[03:40:09] <senayar> frameworks: ['mocha', 'chai']
[03:40:23] <kakashiAL> senayar: I dont use karma
[03:40:58] <senayar> *smile*
[03:40:58] <kakashiAL> just the terminal is enough for me :)
[03:41:24] *** jbarket has quit IRC
[03:41:49] <senayar> http://stackoverflow.com/a/20132967/861206
[03:42:51] *** Jardayn has quit IRC
[03:43:04] <kakashiAL> senayar: is there no way just to use mocha without the html?
[03:43:27] <senayar> how do you includes your JS file without HTML and AMD ?
[03:44:00] <kakashiAL> with require()
[03:44:03] <kakashiAL> I guess
[03:44:14] <senayar> so AMD with requirejs
[03:44:23] <kakashiAL> AMD?
[03:44:59] <senayar> https://github.com/amdjs/amdjs-api/wiki/AMD
[03:46:12] <kakashiAL> senayar: dont understand that, I mean I run mocha in my terminal, in a node context, is it not possible just to use require()?
[03:47:06] *** itaipu has quit IRC
[03:47:59] *** jbarket has joined #angularjs
[03:48:26] <senayar> I don't know how nodejs work with require
[03:48:42] <senayar> how you will load angular with require ?
[03:48:52] <senayar> maybe your module are custom but libraries...
[03:49:25] <kakashiAL> I dont know, I just thought that mocha offers a way to require angular in a node context without karma
[03:49:44] *** speeddra_ has joined #angularjs
[03:49:51] *** gracer has joined #angularjs
[03:50:06] *** Aliks_ has quit IRC
[03:50:38] <senayar> just set a karma runner and everybody who want to run tests will run only one task
[03:50:41] <senayar> http://stackoverflow.com/questions/25417495/testing-angularjs-modules-with-mocha-in-node
[03:50:45] <senayar> I go to bed :)
[03:50:47] <senayar> see you
[03:50:56] *** speeddra_ has quit IRC
[03:51:04] *** senayar has quit IRC
[03:51:52] *** tplaner has joined #angularjs
[03:52:47] *** siba has quit IRC
[03:53:18] *** speeddra_ has joined #angularjs
[03:55:00] *** coderzm has joined #angularjs
[03:55:01] *** Imaginativeone has quit IRC
[03:55:47] *** devJunk has joined #angularjs
[03:56:14] *** GoddessPapa has joined #angularjs
[03:57:39] *** speeddra_ has quit IRC
[03:57:41] *** zeioth_ has quit IRC
[03:58:28] *** speeddra_ has joined #angularjs
[03:58:36] *** Visiter has joined #angularjs
[03:58:54] <Visiter> Hello !
[03:59:18] *** Visiter has quit IRC
[03:59:19] *** jdove has joined #angularjs
[03:59:19] *** sbellina has quit IRC
[03:59:46] *** speeddra_ has quit IRC
[04:00:09] *** devJunk has quit IRC
[04:00:13] *** DoubleAW has quit IRC
[04:00:19] <jdove> Facebook bites my ass for escaped fragment.. just had to put that out there
[04:00:24] *** speeddra_ has joined #angularjs
[04:02:11] *** speeddra_ has joined #angularjs
[04:02:44] *** s3shs has joined #angularjs
[04:02:57] *** smccarthy has joined #angularjs
[04:03:13] *** sbellina has joined #angularjs
[04:03:15] *** phrozensilver has quit IRC
[04:03:36] *** speeddra_ has quit IRC
[04:03:48] *** swordfish has joined #angularjs
[04:03:57] *** speeddra_ has joined #angularjs
[04:04:14] *** Aliks has joined #angularjs
[04:04:46] *** boneskull is now known as boneskull[away]
[04:05:17] *** DrShoggoth has quit IRC
[04:05:20] *** speeddra_ has quit IRC
[04:05:40] *** speeddra_ has joined #angularjs
[04:06:40] *** CanyonMan has joined #angularjs
[04:06:57] <CanyonMan> Can gulp scripts be typescript without extra tooling? It won't just ifnd and run a gulpfile.ts on its own will it?
[04:07:35] *** speeddra_ has quit IRC
[04:08:20] <Poeticode> You'd create a stream with the *.ts files and run them through gulp-typescript
[04:08:33] *** Aces_Charles has joined #angularjs
[04:08:34] *** anjumkaiser has quit IRC
[04:08:52] <CanyonMan> so run gulp-typescript on them instead of just gulp ?
[04:08:57] *** anjumkaiser has joined #angularjs
[04:09:00] <Poeticode> this article goes through it well, though it's with ang2 http://blog.scottlogic.com/2015/12/24/creating-an-angular-2-build.html
[04:09:10] <CanyonMan> thaks
[04:09:28] <Poeticode> gulp is the task manager, gulp-typescript is a gulp task
[04:09:31] <CanyonMan> yeah i'm trying to set up an ng2 project and I don't know i'm kind of happy with my current gulp and es6 setup
[04:09:38] <CanyonMan> it works really well for me so far
[04:10:50] <CanyonMan> The thing is, I noticed that the ng2 seed project has a gulpfile.ts (at least the seed I found) which made me scratch my head and wonder how that worked, I didn't think gulp itself would work with gulpfile.ts ... and then I got tricked though because intellij compiled it for me the instant I saved it and I ended up with a gulpfile.js anyway :P
[04:11:14] *** rickmak has quit IRC
[04:12:12] <CanyonMan> ok wait. So then gulp-typescript is a typescript compiler "for gulp" so it's basically a gulp task wrapper around tsc ?
[04:12:51] *** glitch-hat has quit IRC
[04:13:02] <Poeticode> Yep
[04:13:15] *** anjumkaiser has quit IRC
[04:13:47] <CanyonMan> I'm still missing one thing then: https://github.com/mgechev/angular2-seed
[04:13:53] <CanyonMan> that seed has gulpfile.js
[04:13:55] <CanyonMan> sorry
[04:14:03] <CanyonMan> that seed has gulpfile.ts a typescript file in it
[04:16:03] *** dimtruck is now known as zz_dimtruck
[04:17:20] *** anix has joined #angularjs
[04:17:21] <Poeticode> That's quite a confusing gulp file :o
[04:18:13] *** anix has quit IRC
[04:19:31] *** sbellina has quit IRC
[04:20:36] <CanyonMan> maybe if gulp-typescript is installed it somehow teaches gulp how to read typescript gulpfiles
[04:20:43] *** amdi_ has joined #angularjs
[04:21:32] <CanyonMan> I should see if there's a #gulp because this is an angular2-seed question but it's really probably a gulp question
[04:23:07] *** amdi_ has quit IRC
[04:26:29] *** brownish has joined #angularjs
[04:26:36] *** Aliks has quit IRC
[04:27:18] *** Aliks has joined #angularjs
[04:27:47] *** bePolite has quit IRC
[04:28:33] *** yes`r has joined #angularjs
[04:29:12] *** rickmak_ has joined #angularjs
[04:31:33] *** vandyk has quit IRC
[04:31:35] *** jr3 has quit IRC
[04:34:20] *** amdi_ has joined #angularjs
[04:34:39] *** ron_frown has quit IRC
[04:36:23] *** Rou has joined #angularjs
[04:37:29] *** phrozensilver has joined #angularjs
[04:40:17] *** dodobrain has quit IRC
[04:40:26] *** Aliks has quit IRC
[04:41:18] <CanyonMan> oh man i need a lot more stuff
[04:41:34] <CanyonMan> typescript-register, ts-node to start
[04:43:38] *** one_zero has joined #angularjs
[04:44:24] <kegster> where can i go to find the best structure for an angular app? i'm wanting to use angular, node, sequelize, and express based on what i've read. any good place to start? all the stacks i've tried that look promising all have dependency issues.
[04:44:45] *** Rou has quit IRC
[04:45:52] *** zz_dimtruck is now known as dimtruck
[04:45:57] *** one_zero has quit IRC
[04:47:12] *** raijin has joined #angularjs
[04:49:03] <Poeticode> ts-node and typescript-register? I never used those. :o Is that to get gulpfile.ts working?
[04:50:06] *** sbellina has joined #angularjs
[04:50:30] *** sctskw has joined #angularjs
[04:53:07] <brownish> kegster, i would keep the client and server separate tbh
[04:53:38] *** one_zero has joined #angularjs
[04:54:23] <kegster> brownish, yeah that
[04:54:25] <kegster> oosp
[04:54:28] <kegster> that's what i plan on doing
[04:54:33] <brownish> cool
[04:54:34] *** amdi_ has quit IRC
[04:54:35] <kegster> or do you mean node.js on a diff box?
[04:54:36] *** jr3 has joined #angularjs
[04:54:48] <brownish> Im using this as the base for my angular frontend: https://github.com/AngularClass/NG6-starter
[04:55:10] *** coderzm has quit IRC
[04:55:14] <brownish> it can get a little hairy with all these build tools out there today but i think that one is pretty decent
[04:55:21] <kegster> and for your backend?
[04:55:32] <brownish> nginx and django with postgres db
[04:55:41] <brownish> and django-rest-framework
[04:55:41] <kegster> hm
[04:55:45] *** nilsi has joined #angularjs
[04:56:07] <brownish> i have to deal with a lot of spatial data and im terrible enough at JS as is lol
[04:56:20] <brownish> DRF makes it crazy easy to set up apis and model data
[04:56:51] <brownish> and django with postgres is much more mature than any express/mongoose->mongodb setup
[04:57:21] *** dimtruck is now known as zz_dimtruck
[04:59:19] *** raijin has quit IRC
[05:00:35] *** sctskw has quit IRC
[05:00:55] *** sctskw has joined #angularjs
[05:00:55] *** harlan_44 has joined #angularjs
[05:02:11] *** [psy] has joined #angularjs
[05:03:04] *** rchavik has joined #angularjs
[05:03:08] *** swordfish has quit IRC
[05:03:34] *** swordfish has joined #angularjs
[05:04:22] *** termleech has quit IRC
[05:05:42] *** startupality has joined #angularjs
[05:05:53] *** swordfish has quit IRC
[05:07:43] *** Rou has joined #angularjs
[05:08:22] *** tomfriedhof has joined #angularjs
[05:08:46] *** hackel has quit IRC
[05:13:23] *** glitch-hat has joined #angularjs
[05:14:23] *** Lynxium has joined #angularjs
[05:17:53] *** lnrdo has joined #angularjs
[05:18:26] *** glitch-hat has quit IRC
[05:18:47] *** ron_frown has joined #angularjs
[05:20:48] *** ycon_ has quit IRC
[05:21:55] *** lnrdo has quit IRC
[05:23:55] <jaawerth> brownish: I use node with postgres, myself. mongodb, bleh
[05:28:12] <brownish> ah cool
[05:29:26] *** soee_ has quit IRC
[05:31:13] <brownish> yeah i tried really hard to like mongo
[05:31:33] <brownish> but in the end i could do everything in postgres
[05:31:55] *** quakephil has quit IRC
[05:32:09] <brownish> especially since postgres 9.5 and django 1.9, jaawerth
[05:37:17] *** theblang has quit IRC
[05:37:58] *** fedenunez has quit IRC
[05:38:08] *** fedenunez has joined #angularjs
[05:40:08] *** apricity has quit IRC
[05:40:38] *** kakashiAL has quit IRC
[05:42:45] *** VictorCL has quit IRC
[05:46:35] *** FIFOd has joined #angularjs
[05:49:05] *** VictorCL has joined #angularjs
[05:51:54] *** macabre has quit IRC
[05:53:21] *** jr3 has quit IRC
[05:54:26] *** s3shs has quit IRC
[05:54:46] *** rickmak_ has quit IRC
[05:55:53] *** Garfield-fr has quit IRC
[05:55:58] *** startupality has quit IRC
[05:56:48] *** Garfield-fr has joined #angularjs
[05:58:23] <kegster> so curious, let's look at a MEAN stack--- does this include the front and backend? i see multiple folders like /app/ , etc -- where can i go to learn the structure of front and backend angular/express/node apps, etc to just see what's up?
[05:58:47] <kegster> what i've been doing now is just static html files to test angular itself, and working fine. but i'm now ready to integrate it with node (and express it looks like)
[05:58:54] <kegster> so trying to just see a fundamental here and i seem to get lost lol
[05:59:28] *** Rou has quit IRC
[06:02:00] *** Aliks has joined #angularjs
[06:02:08] *** BigBangUDR has joined #angularjs
[06:02:21] *** Rou has joined #angularjs
[06:02:42] *** erve has joined #angularjs
[06:04:23] *** BigBangUDR has quit IRC
[06:06:19] *** startupality has joined #angularjs
[06:07:20] *** VictorCL has quit IRC
[06:07:29] *** Rou has quit IRC
[06:08:08] *** startupality has quit IRC
[06:13:00] *** herme5 has quit IRC
[06:13:17] *** Aliks has quit IRC
[06:14:10] *** eago has joined #angularjs
[06:15:06] *** ycon_ has joined #angularjs
[06:15:21] *** herme5 has joined #angularjs
[06:17:31] *** Klockner has joined #angularjs
[06:19:32] <Klockner> Hi guys
[06:19:36] <Klockner> Angular is awesome
[06:20:00] *** Klockner has quit IRC
[06:21:04] *** startupality has joined #angularjs
[06:21:57] *** DavidDudson has joined #angularjs
[06:22:19] *** jbarket has quit IRC
[06:23:22] *** SomeKittens has quit IRC
[06:23:30] *** aoeu256 has quit IRC
[06:23:38] *** schneider has joined #angularjs
[06:24:37] *** startupality has quit IRC
[06:25:06] *** startupality has joined #angularjs
[06:29:50] *** empyreanx has quit IRC
[06:29:59] *** smccarthy has quit IRC
[06:30:11] *** phrozensilver has quit IRC
[06:31:30] *** Ozd has joined #angularjs
[06:31:33] *** DavidDudson has quit IRC
[06:32:29] *** sigurding has joined #angularjs
[06:35:18] *** DavidDudson has joined #angularjs
[06:38:00] *** boneskull[away] is now known as boneskull
[06:38:37] *** adavia has quit IRC
[06:38:38] *** node9 has quit IRC
[06:41:02] *** waspinator_ has quit IRC
[06:41:34] *** skcin7 has joined #angularjs
[06:42:25] *** tplaner has quit IRC
[06:43:23] *** tplaner has joined #angularjs
[06:46:21] *** sctskw has quit IRC
[06:46:56] *** sctskw has joined #angularjs
[06:47:23] *** ycon_ has quit IRC
[06:47:55] *** skcin7 has quit IRC
[06:49:32] *** skcin7 has joined #angularjs
[06:50:55] *** sctskw has quit IRC
[06:51:11] *** tplaner has quit IRC
[06:52:12] *** tplaner has joined #angularjs
[06:52:51] *** scampbell has joined #angularjs
[06:54:12] *** tplaner has quit IRC
[06:54:23] *** scampbell has quit IRC
[06:57:13] *** ycon_ has joined #angularjs
[06:59:05] *** rickmak has joined #angularjs
[07:00:57] *** fedenunez has quit IRC
[07:00:59] *** fedenunez1 has joined #angularjs
[07:06:09] *** lnrdo has joined #angularjs
[07:07:07] *** marthinal has joined #angularjs
[07:08:39] *** kopasetik has joined #angularjs
[07:10:23] *** marcdel_ has quit IRC
[07:11:00] *** lnrdo has quit IRC
[07:11:07] *** BigBangUDR has joined #angularjs
[07:11:22] *** juddey has quit IRC
[07:11:54] *** DoubleAW has joined #angularjs
[07:12:27] *** Poeticode has quit IRC
[07:13:32] *** kopasetik has quit IRC
[07:14:06] *** fedenunez1 has quit IRC
[07:16:42] *** duriangray has joined #angularjs
[07:16:42] *** chairmanmow has joined #angularjs
[07:17:28] *** SexualRickshaw has quit IRC
[07:18:06] <schneider> I have a list of objects that are displayed with ng-show (each object) filteredd by a few conditions. At a certain time how can I iterate trough all objects that are displayed only? I can thest each element with filters again but I think that's a waste of time because I have many objects. Maybe there is a easier way? Thanks
[07:18:55] *** glosoli has joined #angularjs
[07:19:29] *** ycon_ has quit IRC
[07:21:07] <Ozd> Hi guys
[07:21:10] <Ozd> I have got $http.get('/project/companiesOfProject', {params: {projectId: projectId}})
[07:21:26] <Ozd> and this calls /project/companiesOfProject?projectId=10
[07:21:48] <Ozd> but i want it to call /project/companiesOfProject/10 without ugly string concatenations
[07:21:53] <Ozd> how can I achieve this?
[07:21:58] *** startupality has quit IRC
[07:23:49] *** glosoli has quit IRC
[07:24:11] *** SexualRickshaw has joined #angularjs
[07:27:25] *** gonengar has quit IRC
[07:29:30] *** ron_frown has quit IRC
[07:30:32] *** suvdeep has joined #angularjs
[07:32:19] *** VeeWee has joined #angularjs
[07:33:50] *** BigBangUDR has quit IRC
[07:33:50] *** Kwoth has joined #angularjs
[07:34:26] *** Dmitri has joined #angularjs
[07:35:36] <Kwoth> In Angular2: Is there a way to tell router to generate a certain element on <router-outlet> (right now it generates <undefined></undefined>)
[07:37:26] *** brodul has quit IRC
[07:39:30] *** Dmitri has quit IRC
[07:40:54] *** fedenunez has joined #angularjs
[07:41:57] *** DavidDudson has quit IRC
[07:42:19] *** brodul has joined #angularjs
[07:43:27] *** Aliks has joined #angularjs
[07:43:37] *** iateadonut has joined #angularjs
[07:51:52] *** ycon_ has joined #angularjs
[07:53:18] *** BigBangUDR has joined #angularjs
[07:54:31] *** punknroll has joined #angularjs
[07:57:27] *** ilmgb has quit IRC
[07:57:46] *** ilmgb has joined #angularjs
[07:58:04] <sigurding> hi, how do I integrate legacy libraries like elasticsearch-browser into a Angular 2 application via System.js?
[07:59:10] *** neevany has joined #angularjs
[07:59:56] *** Garfield-fr has quit IRC
[07:59:59] *** knownasilya has quit IRC
[08:01:32] *** erve has quit IRC
[08:01:56] *** fedenunez has quit IRC
[08:02:35] *** priya_ has joined #angularjs
[08:02:46] <priya_> camera
[08:02:53] *** fedenunez has joined #angularjs
[08:03:33] <priya_> angularjs
[08:03:37] * priya_ slaps boonkerz around a bit with a large fishbot
[08:03:54] *** priya_ has quit IRC
[08:06:38] *** rickmak has quit IRC
[08:07:32] *** plekplek has joined #angularjs
[08:07:47] *** eago has quit IRC
[08:08:13] *** nocontro_ has joined #angularjs
[08:08:16] <nocontro_> why everything other than {{ (customers | filter:{id: "0"}) }} works when id > 0 ? IS there something in Angular with zero ?
[08:09:00] *** DavidDudson has joined #angularjs
[08:12:55] *** speeddra_ has joined #angularjs
[08:13:21] *** fedenunez has quit IRC
[08:13:42] *** jdove has quit IRC
[08:13:50] *** jsheely|2 is now known as jsheely
[08:14:16] *** mary5030 has quit IRC
[08:14:44] *** speeddr__ has joined #angularjs
[08:14:56] *** juddey has joined #angularjs
[08:15:56] *** speeddr__ has quit IRC
[08:16:39] *** speeddra_ has quit IRC
[08:17:48] *** davlefouAMD has quit IRC
[08:18:17] *** speeddra_ has joined #angularjs
[08:20:04] *** speeddr__ has joined #angularjs
[08:20:07] *** speeddra_ has quit IRC
[08:21:22] *** speeddr__ has quit IRC
[08:22:58] *** erve has joined #angularjs
[08:23:31] *** speeddra_ has joined #angularjs
[08:23:40] *** ilmgb_ has joined #angularjs
[08:23:41] *** ilmgb has quit IRC
[08:24:20] *** eelie has joined #angularjs
[08:24:55] *** speeddra_ has quit IRC
[08:26:57] *** Aliks has quit IRC
[08:27:19] *** george_v has joined #angularjs
[08:29:52] *** bakxsteen has joined #angularjs
[08:30:07] *** dan2k3k4 has joined #angularjs
[08:30:45] *** speeddra_ has joined #angularjs
[08:31:11] *** davlefouAMD has joined #angularjs
[08:31:58] *** speeddra_ has quit IRC
[08:33:59] *** boneskull is now known as boneskull[away]
[08:34:07] *** drag0nius has joined #angularjs
[08:34:26] *** DavidDudson has quit IRC
[08:34:42] *** Aliks has joined #angularjs
[08:35:51] *** skcin7 has quit IRC
[08:36:44] *** skcin7 has joined #angularjs
[08:37:06] *** drag0niu1 has quit IRC
[08:37:15] *** bakxsteen has quit IRC
[08:37:46] *** bakxsteen has joined #angularjs
[08:39:05] *** svycka has joined #angularjs
[08:39:11] *** DavidDudson has joined #angularjs
[08:39:54] *** Aliks has quit IRC
[08:43:28] *** Aliks has joined #angularjs
[08:45:41] *** icfantv has quit IRC
[08:46:07] *** startupality has joined #angularjs
[08:47:01] *** fly_boyz has quit IRC
[08:47:04] *** dan2k3k4 has quit IRC
[08:48:19] *** [psy] has quit IRC
[08:48:20] *** joshontheweb has quit IRC
[08:48:40] *** [psy] has joined #angularjs
[08:48:41] *** ycon_ has quit IRC
[08:48:49] *** [psy] has quit IRC
[08:48:53] *** joshonth_ has joined #angularjs
[08:49:00] *** ensyde has joined #angularjs
[08:49:20] *** fly_boyz has joined #angularjs
[08:49:32] *** zz_dimtruck is now known as dimtruck
[08:50:11] *** zivester has quit IRC
[08:50:26] *** coderzm has joined #angularjs
[08:52:01] *** Aliks has quit IRC
[08:52:32] *** illume has joined #angularjs
[08:53:36] *** FIFOd has quit IRC
[08:54:10] *** Aliks has joined #angularjs
[08:54:24] *** lnrdo has joined #angularjs
[08:54:58] *** tarnus has quit IRC
[08:58:59] *** lnrdo has quit IRC
[08:59:21] *** dimtruck is now known as zz_dimtruck
[08:59:23] *** node9 has joined #angularjs
[08:59:25] *** bakxsteen has quit IRC
[08:59:59] *** startupality has quit IRC
[09:00:08] *** tomfriedhof has quit IRC
[09:00:50] *** startupality has joined #angularjs
[09:01:17] *** Aliks_ has joined #angularjs
[09:02:26] *** marthinal has quit IRC
[09:04:36] *** Aliks has quit IRC
[09:06:17] *** Macha has joined #angularjs
[09:06:25] <Macha> hello
[09:07:03] *** Macha has quit IRC
[09:11:04] *** ensyde has quit IRC
[09:12:02] *** javagoogles has left #angularjs
[09:12:41] *** ilmgb_ has quit IRC
[09:13:13] *** ilmgb has joined #angularjs
[09:13:51] *** dan2k3k4 has joined #angularjs
[09:14:08] *** Aliks has joined #angularjs
[09:14:31] *** danielemm has joined #angularjs
[09:14:55] *** ycon_ has joined #angularjs
[09:15:24] *** boneskull[away] is now known as boneskull
[09:16:33] *** Dmitri has joined #angularjs
[09:18:05] *** Aliks_ has quit IRC
[09:18:26] *** drj_ has quit IRC
[09:20:02] *** drj_ has joined #angularjs
[09:21:50] *** DavidDudson has quit IRC
[09:21:58] *** iceball has joined #angularjs
[09:22:18] *** ilmgb has quit IRC
[09:22:23] *** yoshi has joined #angularjs
[09:22:47] *** yoshi is now known as Guest44947
[09:22:48] *** ilmgb has joined #angularjs
[09:22:59] <Guest44947> test
[09:23:35] *** Guest44947 has quit IRC
[09:24:22] *** erol has joined #angularjs
[09:24:40] *** hefox has joined #angularjs
[09:24:41] *** DavidDudson has joined #angularjs
[09:24:46] *** miqid has quit IRC
[09:25:18] *** DavidDudson has quit IRC
[09:25:54] *** amitev has quit IRC
[09:26:18] *** DavidDudson has joined #angularjs
[09:27:07] *** marthinal has joined #angularjs
[09:28:01] *** jstroem has joined #angularjs
[09:30:31] *** bePolite has joined #angularjs
[09:30:32] *** bePolite has joined #angularjs
[09:31:18] *** aoeu256 has joined #angularjs
[09:31:29] *** DavidDudson has quit IRC
[09:31:49] *** Aliks has quit IRC
[09:32:26] *** startupality has quit IRC
[09:32:43] *** bakxsteen has joined #angularjs
[09:34:56] *** kopasetik has joined #angularjs
[09:35:19] *** tuskkk___ has quit IRC
[09:35:25] *** neevany has quit IRC
[09:36:10] *** aoeu256 has quit IRC
[09:36:47] *** DavidDudson has joined #angularjs
[09:36:53] *** xwid has joined #angularjs
[09:36:55] *** tapout has quit IRC
[09:37:25] *** startupality has joined #angularjs
[09:39:45] *** jstroem has quit IRC
[09:40:28] *** DavidDudson has quit IRC
[09:40:50] *** prbc has joined #angularjs
[09:42:29] *** startupality has quit IRC
[09:43:02] *** Sky[x] has joined #angularjs
[09:43:28] *** Juergen4711 has joined #angularjs
[09:44:42] *** yky_ has joined #angularjs
[09:46:04] *** illume_ has joined #angularjs
[09:47:04] *** illume has quit IRC
[09:49:01] *** ilmgb has quit IRC
[09:49:39] *** ilmgb has joined #angularjs
[09:49:58] *** kopasetik has quit IRC
[09:50:15] *** monk12_ has quit IRC
[09:50:23] *** bakxsteen has quit IRC
[09:50:51] *** dcherman has quit IRC
[09:52:14] *** Daerist has joined #angularjs
[09:53:00] *** kopasetik has joined #angularjs
[09:53:51] *** iateadonut has left #angularjs
[09:54:11] *** startupality has joined #angularjs
[09:54:25] *** dopesong has joined #angularjs
[09:55:26] *** illume has joined #angularjs
[09:56:35] *** startupality has quit IRC
[09:56:50] *** cilkay has left #angularjs
[09:57:11] *** bePolite has quit IRC
[09:57:58] *** illume_ has quit IRC
[09:59:02] *** Mizar has joined #angularjs
[10:00:09] *** ilmgb has quit IRC
[10:00:30] *** suvdeepb has joined #angularjs
[10:00:31] *** aoeu256 has joined #angularjs
[10:00:38] *** speeddragon has quit IRC
[10:00:43] *** ilmgb has joined #angularjs
[10:01:13] *** suvdeepb has quit IRC
[10:01:24] *** duriangray has quit IRC
[10:01:39] *** suvdeepb has joined #angularjs
[10:02:05] *** suvdeepb has quit IRC
[10:02:30] *** suvdeepb has joined #angularjs
[10:02:45] *** dan2k3k5 has joined #angularjs
[10:03:33] *** suvdeep has quit IRC
[10:03:34] *** startupality has joined #angularjs
[10:04:37] *** iraj has joined #angularjs
[10:04:53] *** startupality has quit IRC
[10:06:07] *** cotko has joined #angularjs
[10:06:35] *** iceball has quit IRC
[10:06:43] *** dan2k3k4 has quit IRC
[10:07:25] *** dpicky has joined #angularjs
[10:07:35] *** devJunk has joined #angularjs
[10:08:07] *** DavidDudson has joined #angularjs
[10:08:09] *** davi has joined #angularjs
[10:08:29] *** DavidDudson has quit IRC
[10:08:33] *** Bodin has joined #angularjs
[10:09:09] *** DavidDudson has joined #angularjs
[10:10:55] *** Sharaal has joined #angularjs
[10:11:18] *** ilmgb has quit IRC
[10:11:56] *** ilmgb has joined #angularjs
[10:12:11] *** devJunk has quit IRC
[10:12:15] *** suvdeepb has quit IRC
[10:12:31] *** suvdeepb has joined #angularjs
[10:12:42] *** marr has joined #angularjs
[10:12:46] *** juddey has quit IRC
[10:14:25] *** maryl has joined #angularjs
[10:16:12] *** hefox has quit IRC
[10:16:43] *** eelie has quit IRC
[10:17:43] *** contradictioned has quit IRC
[10:17:46] *** coderzm has quit IRC
[10:18:20] *** dpicky has quit IRC
[10:18:53] *** angularjs315 has joined #angularjs
[10:19:00] *** contradictioned has joined #angularjs
[10:19:21] <angularjs315> need help with npOptions directive
[10:19:56] *** lnrdo has joined #angularjs
[10:19:57] <angularjs315> I need to build a cascading dropdown list
[10:19:57] *** asteele has quit IRC
[10:21:52] *** tomfriedhof has joined #angularjs
[10:23:28] *** sbellina has quit IRC
[10:23:32] *** illume has quit IRC
[10:23:38] *** DavidDudson has quit IRC
[10:24:23] *** Dmitri has quit IRC
[10:24:23] *** dpicky has joined #angularjs
[10:24:58] *** Hounddog has joined #angularjs
[10:25:00] *** DavidDudson has joined #angularjs
[10:26:44] *** madhums has joined #angularjs
[10:26:47] *** aoeu256 has quit IRC
[10:28:00] *** skunkz has joined #angularjs
[10:28:19] *** jaesung has joined #angularjs
[10:28:36] *** peter_ has joined #angularjs
[10:28:44] <jaesung> hey is there another way for a service to send a message to a controller other than $broadcast?
[10:29:04] *** illume has joined #angularjs
[10:29:44] *** Bodin has quit IRC
[10:30:12] *** Bodin has joined #angularjs
[10:32:29] *** Aliks has joined #angularjs
[10:33:43] *** jaesung has quit IRC
[10:36:26] *** ahhhndi has joined #angularjs
[10:36:38] *** dpicky has quit IRC
[10:36:39] *** xtreamwayz has joined #angularjs
[10:36:48] *** Dmitri has joined #angularjs
[10:37:26] *** jenelizabeth has quit IRC
[10:37:28] *** Aliks has quit IRC
[10:37:45] *** miqid has joined #angularjs
[10:39:04] *** davi has quit IRC
[10:39:35] *** DavidDudson has quit IRC
[10:41:06] *** lnrdo has quit IRC
[10:41:14] *** node9 has quit IRC
[10:42:00] *** peter_ has quit IRC
[10:42:06] *** ahhhndi has joined #angularjs
[10:42:26] *** erol has quit IRC
[10:42:40] *** fees has joined #angularjs
[10:42:52] *** erol has joined #angularjs
[10:45:27] *** danielemm has quit IRC
[10:46:23] *** iceball has joined #angularjs
[10:49:39] *** cotko has quit IRC
[10:49:53] *** Cokee has joined #angularjs
[10:49:55] *** mllie has joined #angularjs
[10:50:03] <mllie> Hi guys
[10:50:20] *** zz_dimtruck is now known as dimtruck
[10:50:32] *** lnrdo has joined #angularjs
[10:52:43] <mllie> I'm using ui router and I have one state that shows a search user page. Each user shown in the search result has a button to edit the user which loads another state and page. How do I keep my search params when going back from the edit page?
[10:53:14] *** kopasetik has quit IRC
[10:53:33] *** kk_drop has joined #angularjs
[10:54:00] *** kopasetik has joined #angularjs
[10:54:55] *** lnrdo has quit IRC
[10:55:33] *** davlefouAMD has quit IRC
[10:55:35] *** GeekJon has joined #angularjs
[10:56:04] *** tarnus has joined #angularjs
[10:57:26] *** Alcadur has joined #angularjs
[10:57:40] *** prbc has quit IRC
[10:59:30] <Alcadur> Hi, how in angular2 can I test redirect to another view?
[10:59:47] *** Aces_Charles has quit IRC
[10:59:47] <Alcadur> in class constructor I have: router.navigate(['MyView']);
[11:00:03] *** dimtruck is now known as zz_dimtruck
[11:00:18] *** tarnus has quit IRC
[11:00:20] *** Mizar has quit IRC
[11:01:23] *** speeddragon has joined #angularjs
[11:01:41] *** Aces_Charles has joined #angularjs
[11:02:39] *** glitch-hat has joined #angularjs
[11:03:14] *** siba has joined #angularjs
[11:04:22] *** davi has joined #angularjs
[11:04:23] *** davi has joined #angularjs
[11:05:23] <G1eb> millie, there are varios ways to fix your issue
[11:05:44] <G1eb> first thing that comes to mind is that you could sync search params in your local storage
[11:06:05] <G1eb> then when users come back to the search, even after refreshing the page they will still be there
[11:06:32] *** speeddragon has quit IRC
[11:08:15] *** Tennis has joined #angularjs
[11:08:39] *** boneskull is now known as boneskull[away]
[11:08:57] *** davlefouAMD has joined #angularjs
[11:09:12] *** DavidDudson has joined #angularjs
[11:09:26] *** termleech has joined #angularjs
[11:10:25] *** illume has quit IRC
[11:10:28] *** DavidDudson has quit IRC
[11:10:53] *** dan2k3k4 has joined #angularjs
[11:11:05] *** jj has joined #angularjs
[11:11:12] *** DavidDudson has joined #angularjs
[11:11:28] <jj> hello guys
[11:12:03] <jj> does anyone have http sample in angular2 beta?
[11:12:04] *** Alcadur has quit IRC
[11:12:05] *** ahhhndi has quit IRC
[11:12:18] <jj> does anyone have http sample in angular2 beta?
[11:13:12] *** dpicky has joined #angularjs
[11:13:17] *** madhums_ has joined #angularjs
[11:14:11] * jj slaps Atlas around a bit with a large fishbot
[11:14:15] *** dan2k3k5 has quit IRC
[11:15:09] *** madhums has quit IRC
[11:15:54] * jj slaps DavidDudson around a bit with a large fishbot
[11:16:37] <jj> test
[11:16:42] <jj> test
[11:16:42] <jj> test
[11:16:43] <jj> test
[11:16:43] <jj> test
[11:16:44] <jj> test
[11:16:44] <jj> test
[11:16:45] <jj> test
[11:16:45] <jj> test
[11:16:46] <jj> test
[11:16:46] <jj> test
[11:16:47] <jj> test
[11:16:47] <jj> test
[11:16:48] <jj> test
[11:16:48] <jj> test
[11:16:49] <jj> test
[11:16:49] <jj> test
[11:16:50] <jj> test
[11:16:50] <jj> test
[11:16:51] <jj> test
[11:16:51] <jj> test
[11:17:17] <DavidDudson> Not http
[11:17:35] *** kopasetik has quit IRC
[11:17:36] <jj> ok
[11:18:53] *** vandyk has joined #angularjs
[11:20:14] *** joshonth_ has quit IRC
[11:21:06] *** sbasso has joined #angularjs
[11:21:26] *** rickmak has joined #angularjs
[11:21:29] <skunkz> lol
[11:22:35] *** Cokee has quit IRC
[11:23:05] *** joshontheweb has joined #angularjs
[11:23:05] *** dpicky has quit IRC
[11:23:47] *** step1step2 has quit IRC
[11:24:25] *** step1step2 has joined #angularjs
[11:26:03] *** jj has left #angularjs
[11:26:53] <tritian> hi so uhh, i'm doing something akin to <span>{{baz.length}}</span><div ng-repeat="foo in bar | filter: { selected:true } as baz">{{foo.name}}</div>
[11:27:08] <tritian> but baz is undefined
[11:27:17] <tritian> because it happens before the ng-repeat i guess
[11:27:33] <tritian> how i fix? :\
[11:27:43] *** Kwoth has quit IRC
[11:27:54] *** jj has joined #angularjs
[11:28:02] *** SET002 has quit IRC
[11:28:33] <tritian> my googling suggests that this should work but it's not
[11:32:32] *** Ragnar has quit IRC
[11:32:51] *** DavidDudson has quit IRC
[11:34:20] <tritian> i think i figured it out
[11:34:36] <tritian> i had it wrapped in an ng-if, when i change that to an ng-show it works as expected
[11:37:55] *** itaipu has joined #angularjs
[11:42:01] *** kp_ has joined #angularjs
[11:42:07] *** DavidDudson has joined #angularjs
[11:43:22] *** VeeWee has quit IRC
[11:43:23] *** SET001 has joined #angularjs
[11:43:54] *** DavidDudson has quit IRC
[11:44:13] *** cacts has quit IRC
[11:44:24] <Bodin> tritian, you might wanna wrap your variables inside an object, e.g. $scope.vm.baz instead of just $scope.baz. That'll help you with scoping issues like that. Or use controllerAs syntax
[11:44:29] *** kp_ has quit IRC
[11:44:59] *** DavidDudson has joined #angularjs
[11:45:05] *** b0xaa has joined #angularjs
[11:45:25] *** b0xaa has quit IRC
[11:45:33] <tritian> yes
[11:45:52] *** b0xaa has joined #angularjs
[11:46:03] *** Dmitri has quit IRC
[11:46:17] *** illume has joined #angularjs
[11:46:24] <jj> do you have http sample in angular2 beta?
[11:47:18] <tritian> i saw some vids on youtube about angular 2 and how to set up services, i bet they show the http syntax
[11:48:08] <jj> EXCEPTION: Cannot resolve all parameters for AppComponent(?). Make sure they all have valid type or annotations.
[11:48:25] *** b0xa has quit IRC
[11:49:03] <jj> when i tried that i am getting this
[11:49:05] <jj> EXCEPTION: Cannot resolve all parameters for AppComponent(?). Make sure they all have valid type or annotations.
[11:49:16] <tritian> *shrug*
[11:49:20] <jj> any idea on this?
[11:49:20] *** tester has joined #angularjs
[11:49:39] <tritian> are you annotating your stuff correctly
[11:50:18] *** lnrdo has joined #angularjs
[11:50:22] <tritian> do you have the typescript stuff working right? i dunno, i've never done anything with 2.0 yet, just saw some vids a few months ago :D
[11:50:52] *** BigBangUDR has quit IRC
[11:51:02] <jj> yes i have
[11:51:02] *** tester has quit IRC
[11:51:34] *** qdk has quit IRC
[11:53:51] *** speeddragon has joined #angularjs
[11:54:04] *** lnrdo has quit IRC
[11:54:23] *** lnrdo has joined #angularjs
[11:54:27] <vader699> anyone use socket.io with angular2? able to point me towards a good example to start me off?
[11:54:27] *** Cokee has joined #angularjs
[11:54:50] *** mhareza has joined #angularjs
[11:56:32] *** rickmak has quit IRC
[11:56:51] *** pbgc has joined #angularjs
[11:57:06] *** ycon_ has quit IRC
[12:00:22] *** mhareza has quit IRC
[12:00:42] *** phrozensilver has joined #angularjs
[12:01:08] *** yky_ has quit IRC
[12:02:00] *** DavidDudson has quit IRC
[12:03:12] *** Cokee has quit IRC
[12:04:17] *** ilmgb has quit IRC
[12:05:43] *** ilmgb has joined #angularjs
[12:06:54] *** siba has quit IRC
[12:07:02] *** phrozensilver has quit IRC
[12:07:46] *** svycka has quit IRC
[12:09:23] *** ycon_ has joined #angularjs
[12:09:59] *** Rebirth has quit IRC
[12:10:06] *** Cokee has joined #angularjs
[12:11:15] *** VeeWee has joined #angularjs
[12:11:25] *** elyssonmr has joined #angularjs
[12:13:54] *** ycon_ has quit IRC
[12:15:59] *** illume has quit IRC
[12:17:18] *** ycon_ has joined #angularjs
[12:17:25] *** BeLi4L has joined #angularjs
[12:20:32] *** ilmgb has quit IRC
[12:21:07] *** ilmgb has joined #angularjs
[12:23:07] *** skcin7 has quit IRC
[12:23:17] <mllie> G1eb: True, that is one possibility
[12:23:21] <mllie> G1eb: What else?
[12:24:09] *** ak52 has joined #angularjs
[12:24:18] *** skcin7 has joined #angularjs
[12:25:46] *** ilmgb has quit IRC
[12:26:26] *** zz_dimtruck is now known as dimtruck
[12:26:37] *** skcin7 has quit IRC
[12:27:22] *** skcin7 has joined #angularjs
[12:29:43] *** prashant has joined #angularjs
[12:29:49] <G1eb> mllie, depends on how your controllers are set up, if the one handling search is the parent of the one showing specific user views you would not lose the scope of the parent
[12:30:13] <prashant> How to create a module of workflow in angularjs
[12:30:29] <G1eb> alternative to local storage would be to sync search params somewhere else, think of a global service/factory
[12:32:05] *** sixr420 has joined #angularjs
[12:34:02] *** speeddra_ has joined #angularjs
[12:35:20] *** speeddra_ has quit IRC
[12:36:04] *** suvdeepb has quit IRC
[12:36:18] *** dimtruck is now known as zz_dimtruck
[12:37:28] *** speeddra_ has joined #angularjs
[12:38:01] *** illume has joined #angularjs
[12:38:54] *** speeddra_ has quit IRC
[12:40:23] *** Dmitri has joined #angularjs
[12:40:55] *** stevenroose_ has joined #angularjs
[12:42:12] *** AWAW has joined #angularjs
[12:42:44] *** suvdeepb has joined #angularjs
[12:42:56] *** speeddra_ has joined #angularjs
[12:43:46] *** glitch-hat has quit IRC
[12:44:15] *** DoubleAW has quit IRC
[12:44:34] *** speeddra_ has quit IRC
[12:44:42] *** speeddr__ has joined #angularjs
[12:46:32] *** speeddr__ has quit IRC
[12:46:45] *** sigurding has quit IRC
[12:46:47] *** ahhhndi has joined #angularjs
[12:47:21] *** DoubleAW has joined #angularjs
[12:47:26] *** mnzaki has joined #angularjs
[12:48:12] *** speeddra_ has joined #angularjs
[12:49:15] *** AWAW has quit IRC
[12:49:47] *** speeddra_ has quit IRC
[12:49:48] *** Mizar has joined #angularjs
[12:49:56] *** speeddra_ has joined #angularjs
[12:50:47] *** suvdeepb has quit IRC
[12:51:12] *** speeddra_ has quit IRC
[12:56:05] *** svycka has joined #angularjs
[12:56:52] *** nocontro_ has quit IRC
[12:56:55] *** tarnus has joined #angularjs
[12:57:05] *** devJunk has joined #angularjs
[12:58:32] *** ngbot has joined #angularjs
[12:58:33] <ngbot> [angular.js] lgalfaso pushed 1 new commit to master: http://git.io/vENnQ
[12:58:33] <ngbot> angular.js/master 7b51243 Jason Bedard: fix(copy): add support for String/Boolean/Number object types...
[12:58:33] *** ngbot has left #angularjs
[13:01:02] *** suvdeepb has joined #angularjs
[13:01:37] *** yky_ has joined #angularjs
[13:01:38] *** tarnus has quit IRC
[13:02:04] *** morissette has quit IRC
[13:02:05] *** ycon_ has quit IRC
[13:02:48] *** suvdeepb has joined #angularjs
[13:03:29] *** qdk has joined #angularjs
[13:03:43] *** Mizar has left #angularjs
[13:04:35] *** chinmay_ has joined #angularjs
[13:07:34] *** yky_ has quit IRC
[13:09:09] *** suvdeepb has quit IRC
[13:09:26] *** davi has quit IRC
[13:09:40] *** madhums_ has quit IRC
[13:09:44] *** jj_ has joined #angularjs
[13:11:10] *** jj has quit IRC
[13:11:19] *** jj_ has quit IRC
[13:11:53] *** ilmgb has joined #angularjs
[13:13:12] *** dan2k3k5 has joined #angularjs
[13:13:20] *** iraj has quit IRC
[13:14:59] *** madhums has joined #angularjs
[13:16:26] *** dan2k3k4 has quit IRC
[13:18:38] *** ilmgb has quit IRC
[13:19:07] *** ilmgb has joined #angularjs
[13:19:13] *** delgiudices has joined #angularjs
[13:21:56] *** dpicky has joined #angularjs
[13:22:04] *** prashant has quit IRC
[13:22:14] *** tomfriedhof has quit IRC
[13:22:36] *** AWAW has joined #angularjs
[13:22:37] *** vel_ has joined #angularjs
[13:24:46] *** ak52 has quit IRC
[13:24:54] *** sky_ has joined #angularjs
[13:24:55] *** DoubleAW has quit IRC
[13:25:05] *** DoubleAW has joined #angularjs
[13:25:49] *** sky_ has quit IRC
[13:27:15] *** AWAW has quit IRC
[13:37:51] *** iateadonut has joined #angularjs
[13:43:46] *** Rebirth has joined #angularjs
[13:45:46] *** Cokee has quit IRC
[13:48:12] *** VictorCL has joined #angularjs
[13:49:21] *** Sureshreddy has joined #angularjs
[13:52:53] *** davi has joined #angularjs
[13:52:54] *** davi has joined #angularjs
[13:53:52] *** maryl has quit IRC
[13:55:41] *** marthinal has quit IRC
[13:56:05] *** maryl has joined #angularjs
[13:57:00] *** Cokee has joined #angularjs
[13:58:53] *** quakephil has joined #angularjs
[13:59:25] *** Afandi has joined #angularjs
[14:00:27] *** tarnus has joined #angularjs
[14:00:39] <Afandi> test
[14:00:43] <Afandi> :)
[14:04:03] *** yky_ has joined #angularjs
[14:07:04] *** tuskkk___ has joined #angularjs
[14:07:31] *** Ozd has quit IRC
[14:08:27] *** yky_ has quit IRC
[14:11:58] *** Sky[x] has quit IRC
[14:16:24] *** jbarket has joined #angularjs
[14:17:27] *** danielemm has joined #angularjs
[14:21:05] *** pbgc has quit IRC
[14:21:51] *** skunkz has quit IRC
[14:22:25] *** peter_ has joined #angularjs
[14:22:41] *** morissette has joined #angularjs
[14:24:38] <peter_> anyone: Where should I be looking for i18n for Angular2? I am developing a first application in Angular2 and it should support Arabic and English.
[14:25:46] *** Burgerz has quit IRC
[14:26:25] *** angularjs315 has quit IRC
[14:26:35] *** Pspfolio has joined #angularjs
[14:26:57] *** Afandi has quit IRC
[14:27:12] *** zz_dimtruck is now known as dimtruck
[14:28:29] *** fscala has quit IRC
[14:29:30] *** FIL_ has joined #angularjs
[14:29:48] *** GuiltyLemon is now known as Guiltylemon|AFK
[14:30:03] *** jbarket has quit IRC
[14:30:15] *** madhums has quit IRC
[14:31:10] *** ycon_ has joined #angularjs
[14:31:28] *** fscala has joined #angularjs
[14:33:12] *** spriz is now known as spriz_away
[14:33:56] *** davi has quit IRC
[14:36:18] *** dpicky has quit IRC
[14:37:03] *** dimtruck is now known as zz_dimtruck
[14:37:06] *** angularjs_bot has quit IRC
[14:37:15] *** angularjs_bot has joined #angularjs
[14:38:10] *** one_zero has quit IRC
[14:38:26] *** TyrfingMjolnir has quit IRC
[14:38:26] *** glitch-hat has joined #angularjs
[14:39:00] *** TyrfingMjolnir has joined #angularjs
[14:39:10] *** sbasso has quit IRC
[14:40:20] *** TyrfingMjolnir has quit IRC
[14:40:32] *** rho has joined #angularjs
[14:40:32] *** rho has joined #angularjs
[14:41:09] *** marthinal has joined #angularjs
[14:41:14] *** iceball has quit IRC
[14:41:25] *** mllie has quit IRC
[14:42:13] <Hounddog> peter_: just a sec i can give you something that we are using
[14:43:31] <Hounddog> peter_: https://angular-gettext.rocketeer.be/dev-guide/ We use this together with transifex where others not knowing angular are able to translate
[14:44:24] *** tplaner has joined #angularjs
[14:46:18] *** illume has quit IRC
[14:46:44] *** illume has joined #angularjs
[14:47:52] *** charuru has joined #angularjs
[14:48:09] <peter_> Thanks!
[14:48:20] *** CAPITANOOO has joined #angularjs
[14:50:54] *** fedenunez has joined #angularjs
[14:50:58] *** jr3 has joined #angularjs
[14:51:03] *** DJDelusional has joined #angularjs
[14:51:22] *** tplaner has quit IRC
[14:51:29] *** nanoz has joined #angularjs
[14:53:15] *** illume has quit IRC
[14:55:52] *** jr3 has quit IRC
[14:56:56] <ycon_> Hi all, i've something strange is happening with my API. No matter how many items in the json array, an empty one always appears after the array is empty
[14:57:05] <ycon_> Can any suggest why? http://dpaste.com/3RB00SR
[14:57:27] *** VictorCL has quit IRC
[14:57:35] *** CAPITANOOO has quit IRC
[14:59:41] *** glitch-hat has quit IRC
[15:00:31] *** zeioth has joined #angularjs
[15:03:34] *** mary5030 has joined #angularjs
[15:04:59] *** VictorCL has joined #angularjs
[15:05:03] *** jr3 has joined #angularjs
[15:05:36] <ycon_> here's a plunker of what I'm saying- my API fetches 10 items per $http, but the 11th is always a blank result. http://plnkr.co/edit/tPiPszvlOgLSkLkgoK5k
[15:07:00] <ycon_> flick through , they're cards
[15:08:35] *** rchavik has quit IRC
[15:09:33] *** dutis has joined #angularjs
[15:10:28] *** dutis has quit IRC
[15:10:41] *** dutis has joined #angularjs
[15:12:34] *** doodlehaus has joined #angularjs
[15:12:36] *** pbgc has joined #angularjs
[15:12:47] *** anjumkaiser has joined #angularjs
[15:13:12] *** VeeWee has quit IRC
[15:13:52] *** Poeticode has joined #angularjs
[15:14:26] *** mary5030 has quit IRC
[15:15:00] *** mary5030 has joined #angularjs
[15:16:36] *** Guiltylemon|AFK is now known as GuiltyLemon
[15:17:43] *** peter_ has quit IRC
[15:18:14] *** italoacasas has joined #angularjs
[15:20:53] *** zivester has joined #angularjs
[15:20:55] *** encryptd_fractal has joined #angularjs
[15:22:18] *** italoacasas has quit IRC
[15:22:34] *** vandyk has quit IRC
[15:23:03] *** elperdut_ has joined #angularjs
[15:23:06] *** VictorCL has quit IRC
[15:23:15] *** venkat_330 has quit IRC
[15:25:00] *** Pspfolio has quit IRC
[15:25:54] *** VictorCL has joined #angularjs
[15:26:43] *** venkat_330 has joined #angularjs
[15:26:48] *** Dmitri has quit IRC
[15:27:03] *** GuiltyLemon is now known as Guiltylemon|AFK
[15:27:17] *** Guiltylemon|AFK is now known as GuiltyLemon
[15:29:52] *** jayeshsolanki has joined #angularjs
[15:29:56] *** tristanp has quit IRC
[15:30:25] *** tristanp has joined #angularjs
[15:31:20] *** drej has quit IRC
[15:32:33] *** p0k0 has quit IRC
[15:32:55] *** regedit has joined #angularjs
[15:34:04] *** moop has quit IRC
[15:35:30] *** nachtwandler has joined #angularjs
[15:35:31] *** moop has joined #angularjs
[15:36:29] *** Z3R0 has joined #angularjs
[15:37:49] *** zac has joined #angularjs
[15:38:41] *** Rou has joined #angularjs
[15:39:26] *** bbarke has quit IRC
[15:39:26] *** Pspfolio has joined #angularjs
[15:40:56] *** glitch-hat has joined #angularjs
[15:41:22] *** VictorCL has quit IRC
[15:42:06] *** marr has quit IRC
[15:42:35] *** pellekrogholt has quit IRC
[15:44:07] *** jbarket has joined #angularjs
[15:44:28] *** amdi_ has joined #angularjs
[15:44:49] *** swordfish has joined #angularjs
[15:45:08] *** soee_ has joined #angularjs
[15:45:11] *** swordfish has quit IRC
[15:45:17] *** swordfish has joined #angularjs
[15:45:53] *** erol has quit IRC
[15:46:32] *** elperdut_ has quit IRC
[15:47:01] *** Sky[x] has joined #angularjs
[15:48:31] *** bbarke has joined #angularjs
[15:49:47] *** squeakytoy2 has quit IRC
[15:50:56] *** squeakytoy2 has joined #angularjs
[15:50:59] *** petey_pablo has joined #angularjs
[15:51:43] *** knownasilya has joined #angularjs
[15:52:36] *** Z3R0 has quit IRC
[15:53:46] *** elperdut_ has joined #angularjs
[15:54:58] *** macabre has joined #angularjs
[15:58:18] *** killa_kyle has joined #angularjs
[15:58:50] *** Pspfolio has quit IRC
[15:59:56] *** itaipu has quit IRC
[16:00:13] *** itaipu has joined #angularjs
[16:00:39] *** magellanicloud has joined #angularjs
[16:02:44] *** erol has joined #angularjs
[16:05:18] *** Dmitri has joined #angularjs
[16:05:24] *** yky_ has joined #angularjs
[16:06:26] *** elperdut_ has quit IRC
[16:06:55] *** elperdut_ has joined #angularjs
[16:07:37] *** tiagoboldt has joined #angularjs
[16:07:45] *** SET002 has joined #angularjs
[16:07:50] *** Ragnar has joined #angularjs
[16:08:58] *** adavia has joined #angularjs
[16:09:09] *** glitch-hat has quit IRC
[16:09:13] *** erol has quit IRC
[16:09:42] *** yky_ has quit IRC
[16:10:11] *** raja has joined #angularjs
[16:10:28] *** doodlehaus has quit IRC
[16:10:29] *** raja is now known as Guest40570
[16:11:05] *** VictorCL has joined #angularjs
[16:11:06] *** Sharaal has quit IRC
[16:11:23] *** SET001 has quit IRC
[16:12:11] *** anjumkaiser has quit IRC
[16:13:53] *** zivester has quit IRC
[16:14:41] *** rubyronin has joined #angularjs
[16:15:01] *** rajayogan has joined #angularjs
[16:15:33] *** erol has joined #angularjs
[16:17:03] *** s3shs has joined #angularjs
[16:17:25] *** erol has joined #angularjs
[16:17:28] *** smccarthy has joined #angularjs
[16:17:34] *** dan2k3k5 has quit IRC
[16:18:00] *** rajayogan has quit IRC
[16:20:46] *** ASTP001 has quit IRC
[16:20:59] *** LouisDeFunes294 has joined #angularjs
[16:21:31] *** startupality has joined #angularjs
[16:22:51] *** regedit is now known as Google
[16:23:22] *** Google is now known as Guest28782
[16:23:29] *** Guest28782 is now known as regedit
[16:25:18] *** Dmitri has quit IRC
[16:25:19] *** tuskkk___ has quit IRC
[16:25:22] *** bbankes has joined #angularjs
[16:25:44] *** jdw has joined #angularjs
[16:25:48] *** lnrdo has quit IRC
[16:26:09] *** lnrdo has joined #angularjs
[16:26:22] *** ASTP001 has joined #angularjs
[16:28:04] *** zz_dimtruck is now known as dimtruck
[16:28:07] *** marr has joined #angularjs
[16:28:57] *** tristanp has quit IRC
[16:29:01] *** marr has joined #angularjs
[16:29:21] *** tristanp has joined #angularjs
[16:32:25] *** G0dskalk has joined #angularjs
[16:34:25] *** pbgc has quit IRC
[16:35:29] *** LeBlaaanc has joined #angularjs
[16:36:43] *** Godskalk has quit IRC
[16:36:45] *** maryl has quit IRC
[16:37:20] *** Circlefusion has quit IRC
[16:37:47] *** dpicky has joined #angularjs
[16:37:49] *** dimtruck is now known as zz_dimtruck
[16:37:52] *** jdove has joined #angularjs
[16:39:43] *** theblang has joined #angularjs
[16:41:31] *** Sharaal has joined #angularjs
[16:42:13] *** aghiuru has joined #angularjs
[16:42:17] *** punknroll has quit IRC
[16:43:29] *** punknroll has joined #angularjs
[16:44:14] *** ycon_ has quit IRC
[16:44:28] *** punknroll has quit IRC
[16:44:58] *** s3shs has quit IRC
[16:46:31] *** startupality has quit IRC
[16:47:04] *** AWAW has joined #angularjs
[16:49:04] *** rubyronin has quit IRC
[16:49:09] *** vandyk has joined #angularjs
[16:49:15] *** DoubleAW has quit IRC
[16:50:06] *** s3shs has joined #angularjs
[16:50:12] *** dpicky has quit IRC
[16:50:45] *** Circlefusion has joined #angularjs
[16:51:44] *** miqid has quit IRC
[16:52:34] *** speeddra_ has joined #angularjs
[16:53:01] *** iceball has joined #angularjs
[16:53:04] *** pbgc has joined #angularjs
[16:53:09] *** dabdab has joined #angularjs
[16:53:15] *** tiagoboldt has quit IRC
[16:53:47] *** speeddra_ has quit IRC
[16:54:20] *** speeddra_ has joined #angularjs
[16:54:52] *** s00pcan has quit IRC
[16:55:46] *** speeddra_ has quit IRC
[16:56:10] *** speeddra_ has joined #angularjs
[16:56:38] *** s00pcan has joined #angularjs
[16:57:45] *** speeddra_ has quit IRC
[16:57:47] *** Ragnar has quit IRC
[16:57:48] *** iateadonut has quit IRC
[16:57:53] *** speeddra_ has joined #angularjs
[16:58:02] *** buzzedword has joined #angularjs
[16:58:56] *** phrozensilver has joined #angularjs
[16:59:04] *** speeddra_ has quit IRC
[16:59:06] *** glitch-hat has joined #angularjs
[16:59:41] *** speeddra_ has joined #angularjs
[16:59:44] *** doodlehaus has joined #angularjs
[17:00:02] *** boneskull[away] is now known as boneskull
[17:00:31] *** boneskull is now known as boneskull[away]
[17:00:40] *** devJunk has quit IRC
[17:00:53] *** speeddra_ has quit IRC
[17:02:20] *** icfantv has joined #angularjs
[17:02:22] *** Bodin has quit IRC
[17:02:26] *** mhareza has joined #angularjs
[17:04:01] *** iraj has joined #angularjs
[17:05:01] *** regedit has quit IRC
[17:05:15] *** dabdab has quit IRC
[17:05:34] *** jurayk has joined #angularjs
[17:06:02] *** jurayk_ has joined #angularjs
[17:06:35] *** jayeshsolanki has quit IRC
[17:06:50] *** petey_pablo has quit IRC
[17:06:51] *** doodlehaus has quit IRC
[17:06:52] <jurayk_> hello im experimenting with angular 2 beta. can somebody hel me with one issue
[17:07:40] *** max_dev has quit IRC
[17:08:27] *** jdove has quit IRC
[17:09:13] *** Rou has quit IRC
[17:09:25] *** max_dev has joined #angularjs
[17:10:08] *** Rou has joined #angularjs
[17:10:18] *** speeddra_ has joined #angularjs
[17:10:24] *** sonicparke has joined #angularjs
[17:10:36] *** iceball has quit IRC
[17:10:57] *** luiz_lha has quit IRC
[17:11:16] <sonicparke> morning
[17:11:34] *** speeddra_ has quit IRC
[17:12:50] *** pagios has quit IRC
[17:16:07] *** Ragnar has joined #angularjs
[17:17:20] *** tiagoboldt has joined #angularjs
[17:17:52] *** dopesong has quit IRC
[17:17:53] *** sofia has joined #angularjs
[17:18:04] *** chairmanmow has quit IRC
[17:18:16] *** sofia is now known as Guest87523
[17:18:29] *** Guest87523 has quit IRC
[17:18:33] *** jdw has quit IRC
[17:19:12] *** pagios has joined #angularjs
[17:19:15] *** iateadonut has joined #angularjs
[17:19:21] *** iateadonut has left #angularjs
[17:20:22] *** xwid has quit IRC
[17:21:49] *** devJunk has joined #angularjs
[17:22:39] *** madhums has joined #angularjs
[17:22:39] *** IonicKid has joined #angularjs
[17:22:48] <IonicKid> hey... can someone help me with my $HTTP get?
[17:23:32] <IonicKid> https://gist.github.com/malik022/a1b81956f35fa67bcf4d is the JS & https://gist.github.com/malik022/9bf7162fb7795b4e19f0 my HTML
[17:23:48] *** skcin7_ has joined #angularjs
[17:23:48] *** NashDev has joined #angularjs
[17:24:35] *** Sky[x] has quit IRC
[17:24:37] *** skcin7 has quit IRC
[17:24:39] <max_at> IonicKid: why you're doing GET if you want to do a POST?
[17:24:41] <jurayk_> i have problem with http get too. i cannot make any request.
[17:24:58] <NashDev> Good morning all. Where can I go to learn HOW angular's data binding works, specifically, what is the plain javascript that accomplishes updating ONLY models in my view as they chaneg and not re loading the ENTIRE view ?
[17:25:07] <max_at> IonicKid: postData sound like you want to send some data, but you're using method: 'GET',
[17:25:29] <IonicKid> I want to get data
[17:25:30] <IonicKid> not post
[17:25:51] <IonicKid> its just an old function name i haven't changed it
[17:25:57] <IonicKid> its not parsing the payload to the HTML...
[17:26:27] <sonicparke> hey all
[17:26:35] *** devJunk has quit IRC
[17:26:39] <jurayk_> making http requests in angular 2 is not dcomumented ?
[17:26:45] <sonicparke> I'm having trouble working out how to test something. Here's a gist: https://gist.github.com/sonicparke/2da975fec86438eef95f
[17:26:59] *** ycon_ has joined #angularjs
[17:27:00] <jurayk_> im spending hours to send any request with angular 2 and nothing ...
[17:27:26] *** qdk has quit IRC
[17:28:52] <max_at> ng-repeat="item in appts"> {{ appts.time }} >> shouldn't u use item.time instead?
[17:28:55] <max_at> IonicKid:
[17:29:17] *** GeekJon has quit IRC
[17:29:34] <IonicKid> just tested item.time and same results
[17:30:14] *** buzzedword has quit IRC
[17:30:18] *** itaipu has quit IRC
[17:31:38] *** sbasso has joined #angularjs
[17:31:54] <max_at> jurayk_: angular 2 http something like that? https://www.youtube.com/watch?v=BzmuEhBc3yk&list=PLoYZGW8AgG1bTmuraPK5WzeP12lacVmIR
[17:31:59] *** ycon_ has quit IRC
[17:32:33] <max_at> I hate gists, as you cannot play around with them (or i don't know how to). plunkrs ftw :D
[17:32:34] *** glitch-hat has quit IRC
[17:32:38] *** phrozensilver has quit IRC
[17:32:48] <IonicKid> ill create one :P
[17:33:13] <IonicKid> Ill send you $50 if you help me :P
[17:33:14] <max_at> IonicKid: if you insert { appts | json } to your template.. does it ever get filled?
[17:33:20] <jurayk> max_at: thanks
[17:33:39] <kegster> where can i find the best practices for the structure of an angular app?
[17:33:49] <max_at> unfortunately I need to leave now, but will be back in half an hour or so
[17:33:58] <IonicKid> I'll await :P
[17:34:00] <kegster> i've read bout google standards and others, but just not sure. i've been building a simple angular app with just static html files and don't really have a nice structure
[17:34:03] *** squeakytoy2 has quit IRC
[17:34:05] <jbarket> kegster, I highly recommend reading over the style guide here: https://github.com/johnpapa/angular-styleguide
[17:34:12] <NashDev> https://github.com/johnpapa/angular-styleguide
[17:34:18] <NashDev> lol jbarket
[17:34:19] <jbarket> It may seem overly complicated, but trust me, it is the bees knees
[17:34:25] <NashDev> sure is
[17:34:36] <kegster> the structures of various apps i've seen are confusing and when i load them up, apache just shows the directory listing bc theres no index.html or htaccess rules
[17:34:39] <kegster> OK i'll check that out
[17:34:40] <kegster> thanks :D
[17:34:46] <Poeticode> That style guide is the cat's pajamas
[17:35:16] *** squeakytoy2 has joined #angularjs
[17:35:58] *** icebox has joined #angularjs
[17:35:59] <kegster> is there a seed somewhere setup to match this guide so i can have a side by side or something?
[17:36:48] <Poeticode> You can see the code for his sample app at the section "See the Styles in a Sample App"
[17:36:51] *** quadmasta has joined #angularjs
[17:37:16] <Poeticode> though it's pretty complicated… I'd recommend going over the basics. The style guide sort of builds up in complexity.
[17:37:55] <kegster> yeah i'm going to read up first
[17:37:56] *** skcin7_ has quit IRC
[17:38:01] <kegster> just good to have a seed
[17:38:09] <kegster> ahh i see it. ok phew thanks :) i am going to dive right in!
[17:38:16] <IonicKid> @max_at yes { appts | json } worked
[17:38:25] *** DoctorDalek has joined #angularjs
[17:39:04] *** skcin7 has joined #angularjs
[17:39:24] *** Rebirth has quit IRC
[17:40:06] <kegster> i finally got my node express and sequelize all working nicely with my postgres so now jumping back to finalize my angular structure
[17:40:23] <quadmasta> are angular2 questions fair game in here?
[17:42:56] <jurayk> max_at: i know this tutorial. i have followd it but if aj make request i dont see any request in developers console.
[17:43:30] <icebox> quadmasta: sure
[17:43:39] <quadmasta> I'm having trouble understanding http.request and Observables in regard to mapping
[17:44:24] <quadmasta> everything I find online(probably out of date) says I can chain a map off of the request like this.http.request(requestObj).map
[17:44:52] <quadmasta> but I get an error if I try to do it
[17:45:13] <quadmasta> .map is not a function
[17:45:14] *** phrozensilver has joined #angularjs
[17:45:31] *** GeekJon has joined #angularjs
[17:46:21] *** itaipu has joined #angularjs
[17:47:14] *** Hounddog has quit IRC
[17:47:36] *** Zalabinsky has joined #angularjs
[17:48:47] <icebox> quadmasta: I think now it is ".subscribe"
[17:48:54] *** marthinal has quit IRC
[17:48:55] *** aghiuru has quit IRC
[17:49:19] *** aghiuru has joined #angularjs
[17:49:32] *** mikhey has joined #angularjs
[17:49:41] <icebox> quadmasta: https://angular.io/docs/js/latest/api/http/Request-class.html
[17:49:49] *** xtreamwayz has quit IRC
[17:50:30] *** Jardayn has joined #angularjs
[17:51:04] <quadmasta> icebox: https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/observable.md .map is a method of Observable as well
[17:51:15] *** pbgc has quit IRC
[17:51:43] *** dszmaj has joined #angularjs
[17:54:09] *** tomfriedhof has joined #angularjs
[17:54:45] <icebox> quadmasta: ok... are you doing http.get(myurl).map(...).subscribe...?
[17:54:53] *** mhareza has quit IRC
[17:55:27] *** Dmitri has joined #angularjs
[17:55:34] <icebox> quadmasta: https://github.com/angular/angular/issues/5632
[17:55:45] <quadmasta> icebox: no, I'm doing http.request(requestObject).map().subscribe
[17:56:13] *** sbasso has quit IRC
[17:56:16] <icebox> quadmasta: you need to adjust that
[17:56:32] <quadmasta> icebox: chasing betas is frustrating
[17:56:53] *** bayousoft has joined #angularjs
[17:56:54] *** randomdoude has joined #angularjs
[17:57:22] *** SomeKittens has joined #angularjs
[17:57:45] <quadmasta> icebox: that did the trick, thanks so much
[17:58:06] <icebox> quadmasta: you are welcome
[17:58:06] *** regedit has joined #angularjs
[17:59:44] *** Sky[x] has joined #angularjs
[17:59:51] *** quadmasta has quit IRC
[18:00:34] *** Dmitri has quit IRC
[18:00:53] *** glitch-hat has joined #angularjs
[18:01:34] *** ensyde has joined #angularjs
[18:01:50] *** erol has quit IRC
[18:01:54] *** Cokee has quit IRC
[18:03:43] *** dpicky has joined #angularjs
[18:04:08] *** tiagoboldt has quit IRC
[18:04:19] *** vishal_ has joined #angularjs
[18:04:33] *** dodegaard has joined #angularjs
[18:04:53] <vishal_> hello everyone
[18:05:02] * vishal_ slaps arielserafini around a bit with a large fishbot
[18:05:09] *** david__ has quit IRC
[18:05:10] *** diegoaguilar has joined #angularjs
[18:05:39] *** Janshair has joined #angularjs
[18:05:46] <Janshair> When Angular 2 is expected to be release?
[18:05:47] *** vishal_ has quit IRC
[18:05:52] *** jurayk_ has quit IRC
[18:05:59] *** IonicKid has quit IRC
[18:06:01] *** Sky[x] has quit IRC
[18:06:12] *** jurayk has left #angularjs
[18:06:26] *** svycka has quit IRC
[18:06:44] *** yky_ has joined #angularjs
[18:06:54] *** Janshair has quit IRC
[18:06:56] <dodegaard> I have a client using 1.3.3 on a large project and has not upgraded. Does anyone have links to help educate on why keeping up to date would be of benefit beyond obvious reasons? Simply focus on README and version update docs? Thanks for help.
[18:07:08] *** diegoaguilar has quit IRC
[18:07:37] *** diegoaguilar has joined #angularjs
[18:08:38] <AnguMat> Good morning angular! Anyone have experience with angular 2 child routes?
[18:08:44] *** rbulatnikov has joined #angularjs
[18:09:54] <rbulatnikov> hey, fairly simple question - I want to start a new application and have many dependencies on directives etc that were written in angular 1. should I start it with angular 2 or keep going with the older versions?
[18:10:13] *** Sky[x] has joined #angularjs
[18:11:14] *** yky_ has quit IRC
[18:11:25] <kegster> what's a good way to handle authentication? i was thinking of just providing a global var via scope and having that auth true or false, and storing a token for use with all api requests (the token will be returned upon successful form login)
[18:11:34] *** danielemm has quit IRC
[18:11:35] <kegster> not sure if there's some angular module to handle this or if scratch is best
[18:12:04] *** dodegaard has quit IRC
[18:12:42] *** devJunk has joined #angularjs
[18:13:15] <AnguMat> Kegster - I would opt for a core level service rather than just a global attr
[18:13:35] *** regedit has quit IRC
[18:15:20] *** regedit has joined #angularjs
[18:15:53] <AnguMat> kegster - http://stackoverflow.com/questions/20969835/angularjs-login-and-authentication-in-each-route-and-controller
[18:17:22] *** Aliks has joined #angularjs
[18:18:58] <G0dskalk> rbulatnikov i wondered the same thing and went for ang2
[18:19:13] *** RangerRick has quit IRC
[18:19:16] <G0dskalk> rbulatnikov this will give you a kickstart https://github.com/mgechev/angular2-seed
[18:19:33] *** hefox has joined #angularjs
[18:19:58] <G0dskalk> but what is written for ang1 must probably be rewritten for 2
[18:20:14] *** RangerRick has joined #angularjs
[18:20:40] *** jenelizabeth_ has joined #angularjs
[18:20:50] *** Sky[x] has quit IRC
[18:21:10] *** ycon_ has joined #angularjs
[18:21:42] *** yes`r has quit IRC
[18:23:09] *** Sky[x] has joined #angularjs
[18:23:21] *** george_v has quit IRC
[18:24:14] *** regedit has quit IRC
[18:25:13] *** tiagoboldt has joined #angularjs
[18:25:33] *** Sky[x] has quit IRC
[18:25:42] *** ycon_ has quit IRC
[18:25:44] <rbulatnikov> G0dskalk cool. everything else should work just the same?
[18:26:40] *** jbarket has quit IRC
[18:28:01] *** elperdut_ has quit IRC
[18:28:56] *** zz_dimtruck is now known as dimtruck
[18:29:30] *** Wiist has joined #angularjs
[18:29:31] <kegster> AnguMat, is there an auth module that's reliable?
[18:29:33] *** killa_kyle has quit IRC
[18:29:43] <kegster> i saw the link you sent
[18:30:05] *** Tennis has quit IRC
[18:30:41] <Wiist> Anyone know why my variable is not update un the child controller when i change it in the parent variable, i'm doing $scope.variable = $scope.$parent.variable and it's stay at the initial state
[18:30:53] <Wiist> And i'm sure the variable in the parent are change
[18:30:54] <AnguMat> kegster - I wouldn't be surprised if there was one. I tried one that had issues and have rolled my own since
[18:31:17] <kegster> yeah bc i'm new enough where the example you sent could probably get me in trouble :P
[18:31:50] <AnguMat> kegster - Understandable, I wish I knew of a good one myself
[18:31:55] <kegster> i'm attempting to put some simple peices together for an app, but i kind of like the idea of "less is more" with modules-- though i don't know enough about angular to know which are necesities
[18:32:15] <kegster> yeah. oh well. i'll play with your example. can't be any more complex than how i was planning on doing it lol. plus it shows listeners too.
[18:32:32] <kegster> so basically at ANY moment if user is set to logout (or whatever), then the app will automatically redirect them?
[18:32:38] <kegster> what about preventing a back click, etc
[18:32:46] <kegster> or is that shown in the example provided?
[18:33:24] *** glitch-hat has quit IRC
[18:33:46] *** Aliks has quit IRC
[18:34:05] *** asteele has joined #angularjs
[18:37:20] *** Rou has quit IRC
[18:37:39] *** kgee has joined #angularjs
[18:38:35] *** dimtruck is now known as zz_dimtruck
[18:38:37] *** FIL_ has quit IRC
[18:38:48] *** killa_kyle has joined #angularjs
[18:38:55] <G0dskalk> rbulatnikov not really its kinda different, i suggest playing around with it.. took me some days to get into but im unsure myself i should keep using it or go back to 1 :)
[18:39:14] *** nanuko has joined #angularjs
[18:39:29] *** marthinal has joined #angularjs
[18:40:48] <rbulatnikov> G0dskalk ok man :) I'm going for the same deal :)
[18:41:17] *** fscala has quit IRC
[18:41:42] <G0dskalk> do you use greensock animations btw?
[18:41:46] *** itaipu has quit IRC
[18:42:25] *** ico has joined #angularjs
[18:42:40] *** sbellina has joined #angularjs
[18:42:48] *** tilen has joined #angularjs
[18:44:20] *** fscala has joined #angularjs
[18:45:21] <icfantv> Wiist: you need to learn how scope inheritance works. primitives are copied and objects are inherited until overridden.
[18:46:17] <icfantv> Wiist: if i say $scope.foo = true; in a parent controller, the child controller also has $scope.foo === true, but it's a copy, not a reference. what this means is that if you change it in the parent, the child will not change.
[18:46:28] <icfantv> Wiist: this is why you ALWAYS store your scope data in an object.
[18:46:39] <Wiist> i find another solution
[18:46:48] <Wiist> Im short in time
[18:46:52] <icfantv> ala: $scope.data = {}; $scope.data.foo = true;
[18:47:08] <Wiist> what i did is store it into the rootscope and watch the variable from the child scope
[18:47:17] <icfantv> Wiist: no. omg, no
[18:47:25] <icfantv> do not store stuff on root scope
[18:47:44] <icfantv> if you need to store state across application sections, use a service
[18:47:46] <Wiist> I don't understand the principle of object
[18:48:01] <Wiist> what does that change in the link between parent and child
[18:48:12] <Wiist> i saw what you are talking about
[18:48:19] <icfantv> Wiist: a primitive in JS is a boolean, a number, or a string. even though string is an object…it's still copied.
[18:48:57] <Wiist> i understand the principale of primitive but i thought you could ask an update from the child
[18:49:17] <icfantv> Wiist: you don't need to ask, you already have a reference - scopes inherit
[18:49:29] <Wiist> I know i should go for a service for what im doing but for now i got no time to think about all the transversal trouble it gonna create
[18:50:08] <icfantv> you're going down a dangerous road. i've found the "just get it done" mentality is a really good way to paint yourself into a corner down the road.
[18:50:25] <icfantv> to the point of where you're going to eventually have to totally rewrite stuff
[18:50:34] <icfantv> it's FAR better to do it now
[18:50:38] <icfantv> and do it right
[18:50:40] <Wiist> so if i do in the parent controller $scope.sharedvariable.variable = false, and in the child i do the same. if in the parentcontroller the variable is change it gonna "update" it ?
[18:50:58] <icfantv> Wiist: yes
[18:51:01] <Wiist> Okay
[18:51:06] <icfantv> as long as it's an object
[18:51:06] *** killa_kyle has quit IRC
[18:51:20] *** empyreanx has joined #angularjs
[18:51:29] <icfantv> as long as `sharedvariable` is an object
[18:51:42] <Wiist> Okay thank for the solution, i do prefere making things right but sometimes you got to make it works no matter what it takes ...
[18:52:09] <icfantv> Wiist: and again, having been there many times - it's FAR better to do it correctly the first time
[18:52:19] *** zz_dimtruck is now known as dimtruck
[18:53:01] <brandom_> In angular2 does change detection need to be triggered manually, even when using the async pipe with an observable?
[18:53:08] *** glitch-hat has joined #angularjs
[18:54:11] <brandom_> All the angular2/observable examples I can find are using the http service which I guess triggers change detection. Is other async stuff ran outside angular?
[18:54:19] *** danieli has left #angularjs
[18:54:39] *** bayousoft has quit IRC
[18:55:02] <Wiist> I totally agree, i just implement it and it looks so much better that way than what i did before, thank a lot mate
[18:55:18] *** sergey has joined #angularjs
[19:01:30] *** dpicky has joined #angularjs
[19:02:10] *** elperdut_ has joined #angularjs
[19:03:27] *** startupality has joined #angularjs
[19:03:32] *** elperdut_ has quit IRC
[19:04:03] *** Sky[x] has joined #angularjs
[19:04:11] *** Zlepper has joined #angularjs
[19:04:18] *** leolrrj has joined #angularjs
[19:04:59] *** dpicky has quit IRC
[19:05:18] *** GuiltyLemon is now known as Guiltylemon|AFK
[19:05:33] *** yky_ has joined #angularjs
[19:06:21] *** Wiist has quit IRC
[19:06:36] *** codeitloadit has joined #angularjs
[19:07:27] *** apricity has joined #angularjs
[19:07:52] *** apricity is now known as Guest10126
[19:09:39] *** rbulatnikov has quit IRC
[19:10:58] *** Ginger has joined #angularjs
[19:11:06] *** glitch-hat has quit IRC
[19:11:27] *** anjumkaiser has joined #angularjs
[19:12:19] <Zlepper> I'm trying to do a POST request to another domain. In angular the request dies because of the option preflight request. Even if the preflieght request returns 200 the actual post request is never send. If i do the same request through jquery, then everything seems to go through as expected. Any guesses on what I could have messed up?
[19:12:29] *** jr3 has quit IRC
[19:12:52] *** xaxisx has joined #angularjs
[19:13:16] *** LeBlaaanc has quit IRC
[19:13:27] *** glitch-hat has joined #angularjs
[19:14:43] *** BigBangUDR has joined #angularjs
[19:15:22] *** ycon_ has joined #angularjs
[19:15:35] *** iraj has quit IRC
[19:15:36] *** ilmgb has quit IRC
[19:16:16] *** ilmgb has joined #angularjs
[19:17:03] *** LeBlaaanc has joined #angularjs
[19:17:50] *** Guest10126 has quit IRC
[19:19:32] *** LeBlaaanc has quit IRC
[19:19:39] *** BigBangUDR has quit IRC
[19:19:59] *** ycon_ has quit IRC
[19:20:10] *** qdk has joined #angularjs
[19:20:35] *** ilmgb has quit IRC
[19:20:58] *** boneskull[away] is now known as boneskull
[19:22:03] *** LeBlaaanc has joined #angularjs
[19:24:49] <sonicparke> any testing gurus in here?
[19:24:51] <icebox> Zlepper: http://enable-cors.org/ ?
[19:26:50] <Zlepper> I have already looked that and enabled everything possible. The correct headers is also returned in the preflieghts request, so i'm pretty sure everything is configured correctly
[19:27:18] *** elperdut_ has joined #angularjs
[19:27:57] *** zac has quit IRC
[19:28:00] *** ico has quit IRC
[19:28:25] <icebox> Zlepper: hope this helps: http://stackoverflow.com/questions/22968406/how-to-skip-the-options-preflight-request-in-angularjs
[19:28:35] *** ico has joined #angularjs
[19:28:43] *** bew has joined #angularjs
[19:29:12] *** iraj has joined #angularjs
[19:30:38] *** chairmanmow has joined #angularjs
[19:31:01] *** lnrdo has quit IRC
[19:31:03] <icebox> sonicparke: don't ask to ask
[19:31:16] *** elyssonmr has quit IRC
[19:31:20] *** ico has quit IRC
[19:31:38] *** lnrdo has joined #angularjs
[19:31:40] <sonicparke> @icebox i know. I asked earlier and got no response so I threw out a feeler this time
[19:31:48] *** ico has joined #angularjs
[19:32:02] <icebox> sonicparke: ah ok... I was away... please, repeat the question
[19:32:09] <sonicparke> anyway, I'm having trouble figuring out how to test a function that returns a function from a service
[19:32:10] *** ico has quit IRC
[19:32:36] *** ico has joined #angularjs
[19:32:36] <sonicparke> https://gist.github.com/sonicparke/2da975fec86438eef95f
[19:33:15] <sonicparke> I'm not sure how to do spies correctly I guess. Or maybe setting up the functions this way isn't the right approach
[19:33:42] <icebox> sonicparke: does getNetworks return a function?
[19:33:56] <sonicparke> it returns a service call
[19:34:08] <sonicparke> return AppService.getNetworks();
[19:34:25] <sonicparke> oh. I see what you're saying
[19:34:26] <icebox> sonicparke: ok... what is the return value? a function?
[19:34:46] <sonicparke> hold please. digging that up
[19:35:15] <icebox> sonicparke: :) you said a function that returns a function :)
[19:35:40] *** yes`r has joined #angularjs
[19:35:57] <morissette> function() { return function() { console.log("sup bro?"); } }
[19:35:58] <sonicparke> well I meant getAvailableNetworks that returns getNetworks
[19:36:03] *** ico has quit IRC
[19:36:13] <sonicparke> return AppService.getNetworks(); returns an array
[19:36:28] *** ico has joined #angularjs
[19:36:37] <sonicparke> do I have to mock up the array or can I just check that AppService.getNetworks() was called?
[19:36:50] *** NashDev has quit IRC
[19:37:08] <sonicparke> for this test I don't care what it returns I guess, only that it was called
[19:37:08] <icebox> sonicparke: both approache are feasible
[19:37:29] *** OddDuck has quit IRC
[19:37:47] *** glitch-hat has quit IRC
[19:38:19] *** pose has joined #angularjs
[19:38:24] *** glitch-hat has joined #angularjs
[19:38:26] *** Aliks has joined #angularjs
[19:38:45] *** juddey has joined #angularjs
[19:39:01] <sonicparke> icebox: ok, so if I just want to expect(AppService.getNetworks).toHaveBeenCalled() what exactly do I need to spyOn for that?
[19:39:29] *** tiagoboldt has quit IRC
[19:40:00] <icebox> sonicparke: sorry... I don't use that lib... I have been using mocha or tape
[19:40:13] <sonicparke> ah ok
[19:40:24] <sonicparke> what about bardjs, do you use that?
[19:40:25] *** ico has quit IRC
[19:40:32] *** brownbathrobe has joined #angularjs
[19:40:45] *** tiagoboldt has joined #angularjs
[19:40:53] *** madhums has quit IRC
[19:41:07] *** jstroem has joined #angularjs
[19:41:18] *** NETBUILDER has joined #angularjs
[19:41:20] *** ico has joined #angularjs
[19:42:39] *** anjumkaiser has quit IRC
[19:43:56] *** ico has quit IRC
[19:44:22] *** ico has joined #angularjs
[19:45:37] <icebox> sonicparke: interesting, but I prefer bare approach :)
[19:45:39] *** ico has quit IRC
[19:45:56] *** jstroem has quit IRC
[19:46:09] *** ico has joined #angularjs
[19:47:36] *** elperdut_ has quit IRC
[19:48:02] *** elperdut_ has joined #angularjs
[19:49:15] *** anjumkaiser has joined #angularjs
[19:49:30] *** Pspfolio has joined #angularjs
[19:49:57] *** NETBUILDER has quit IRC
[19:50:07] *** ico has quit IRC
[19:50:27] *** ico has joined #angularjs
[19:51:01] *** ico has joined #angularjs
[19:51:05] *** tiagoboldt has quit IRC
[19:52:45] *** duriangray has joined #angularjs
[19:52:46] *** LouisDeFunes294 has quit IRC
[19:53:57] *** pose has quit IRC
[19:54:19] *** brownish has quit IRC
[19:54:28] *** xaxisx has quit IRC
[19:54:31] *** pose has joined #angularjs
[19:54:43] *** brownish has joined #angularjs
[19:55:14] *** hackel has joined #angularjs
[19:55:58] *** ilmgb has joined #angularjs
[19:56:04] *** ico has quit IRC
[19:56:35] *** ico has joined #angularjs
[19:57:52] *** glitch-h_ has joined #angularjs
[19:57:52] *** ico has quit IRC
[19:58:22] *** ico has joined #angularjs
[19:58:33] <Zlepper> If a response is 200 and the json is valid, what else could be causing $http to go into the errorCallback instead of the successCallback?
[19:59:10] *** pose has quit IRC
[19:59:19] <sonicparke> icebox: cool
[19:59:59] *** glitch-hat has quit IRC
[20:00:15] <kegster> when trying to use $http to ask for http://my.ip:3000 (which returns json via node) -- i get this error: "XMLHttpRequest cannot load http://172.16.999.999:3000/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://ng.local' is therefore not allowed access."
[20:01:18] *** quadmasta has joined #angularjs
[20:01:46] <quadmasta> in Angular2 I keep running into "No provider for" errors but only for one of my classes and I can't figure out why
[20:02:03] <quadmasta> I'm putting it in the list of deps in the bootstrap
[20:02:04] *** jr3 has joined #angularjs
[20:02:18] <quadmasta> it's the same as my other service but my other service is fine
[20:02:39] <kegster> i evne tried using a hostname that's the same as the web
[20:02:55] <quadmasta> what should I check?
[20:03:54] *** HarunTy has joined #angularjs
[20:04:53] *** cocao has joined #angularjs
[20:05:53] *** swordfish has quit IRC
[20:06:42] <brownish> kegster, try putting this in your angular.module.config: `$httpProvider.defaults.useXDomain = true;`
[20:07:10] *** nilsi has quit IRC
[20:07:15] *** Sky[x] has quit IRC
[20:07:26] *** killa_kyle has joined #angularjs
[20:08:07] *** ico has quit IRC
[20:08:34] *** ico has joined #angularjs
[20:08:36] <G0dskalk> quadmasta is the class exported?
[20:09:10] <quadmasta> yep
[20:09:32] *** ycon_ has joined #angularjs
[20:09:37] *** madhums has joined #angularjs
[20:09:48] <quadmasta> I've tried just listing the class name in the array in the bootstrap call and I've also tried creating a provide within the bootstrap call
[20:09:55] *** anjumkaiser has quit IRC
[20:10:31] *** marcdel has joined #angularjs
[20:12:08] <quadmasta> G0dskalk: I wish it were that simple of a fix
[20:12:27] *** ico has quit IRC
[20:12:56] *** ico has joined #angularjs
[20:13:30] *** ico has quit IRC
[20:14:07] *** ico has joined #angularjs
[20:14:12] *** erol has joined #angularjs
[20:14:28] *** ycon_ has quit IRC
[20:14:30] *** speeddragon has quit IRC
[20:14:32] *** cocao has quit IRC
[20:14:48] *** glitch-h_ has quit IRC
[20:14:55] *** zac has joined #angularjs
[20:15:05] *** marcdel has quit IRC
[20:15:40] *** Guiltylemon|AFK is now known as GuiltyLemon
[20:15:49] *** ico has quit IRC
[20:15:50] *** erere has joined #angularjs
[20:16:20] *** ico has joined #angularjs
[20:17:01] *** bayousoft has joined #angularjs
[20:17:51] *** tiagoboldt has joined #angularjs
[20:18:06] *** jbarket has joined #angularjs
[20:18:23] <kegster> brownish, i saw something similar to this online, but it didn't work. maybe i didn't implement properly.
[20:18:44] <kegster> brownish, something like this? http://kopy.io/48Aqu
[20:18:56] *** marthinal has quit IRC
[20:18:58] *** tiagoboldt has quit IRC
[20:19:13] <kegster> i have test.local pointing to the IP i need, and angular running on test.local -- i tried test.local instead of IP and still get the cross origin issue lol.
[20:19:18] <kegster> souds like what you recommend should work brownish but maybe i'm implementing incorrectly
[20:19:40] *** glitch-hat has joined #angularjs
[20:20:15] <brownish> kegster that should work, i assume your node backend is running on a different port?
[20:20:24] <kegster> yes i am on port 3000
[20:20:43] <brownish> express?
[20:20:45] <kegster> after my .config i have a chain of .service and .controller etc
[20:20:53] <kegster> brownish, i just picked port 3000 i think, but yes using express
[20:20:56] <kegster> maybe 3000 was chosen
[20:21:38] <brownish> you'll need cors configured on the backend: https://github.com/expressjs/cors
[20:21:52] <brownish> lemme find how i set it up quick
[20:22:00] <kegster> brownish, brownish, "XMLHttpRequest cannot load http://test.local:3000/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://test.local' is therefore not allowed access."
[20:22:01] <kegster> isnt that strange tho?
[20:22:04] <kegster> test.local can't go to test.local
[20:22:04] <kegster> haha
[20:22:21] <kegster> do i need to install cors globally?
[20:22:24] <kegster> or just local
[20:22:28] <brownish> just locally
[20:22:41] <kegster> does express ahve to be on 3000 or just the default?
[20:22:45] <kegster> is that just the default****
[20:23:05] *** Pspfolio has quit IRC
[20:23:08] <brownish> you set it when you do server.listen()
[20:23:18] <brownish> i.e, server.listen(process.env.PORT || 9000, "0.0.0.0", {cors: true}, function () {
[20:23:18] <brownish> console.log('Express server listening on port 9000');
[20:23:18] <brownish> });
[20:23:38] *** baweaver has joined #angularjs
[20:23:42] <kegster> yeah i knew that, but you assumed express from 3000 so wasn't sure if that was required
[20:24:04] <kegster> so it looks like i just need to require cors, use(cors()) and that's it?
[20:24:04] *** sixr420 has quit IRC
[20:24:05] <brownish> oh no the port doesnt matter, a lot of people use 3000
[20:24:07] <kegster> your paste shows {cors:true}
[20:24:21] *** erol has quit IRC
[20:24:21] <brownish> app.use(cors());
[20:24:28] <brownish> then put that cors: true in there
[20:24:29] <brownish> try that out
[20:24:51] <brownish> then try your $http to localhost:3000/endpoint/goes/here
[20:25:07] <kegster> so can i remove the original fix?
[20:25:11] <kegster> adding the value to the modules.config
[20:25:25] *** newbie has joined #angularjs
[20:25:43] <brownish> you still need that
[20:25:43] <kegster> var server = app.listen(3000, {cors:true}, function () {
[20:25:50] *** newbie is now known as Guest10537
[20:26:09] *** sixr420 has joined #angularjs
[20:26:26] <Guest10537> hi
[20:26:35] *** devJunk has quit IRC
[20:26:47] *** thezanke has joined #angularjs
[20:26:48] <kegster> ok well now it says connection refused, so fixed my original issue. now i need to probably change the host since it's all local nd prob confused
[20:26:52] *** Bomber4Chats has joined #angularjs
[20:27:04] <kegster> oh wait
[20:27:06] <kegster> error i think jas
[20:27:13] *** Aliks has quit IRC
[20:27:22] <brownish> is your endpoint set up?
[20:27:39] <brownish> try going to your node endpoint in chrome or postman
[20:28:07] *** c00ljs has quit IRC
[20:28:12] <kegster> yeah it errored out bc i put {cors:true} in wrong spot
[20:28:21] <kegster> i passed false where you put "0.0.0.0" assuming it woild be OK
[20:28:24] <kegster> so now my node endpoint is working
[20:28:56] <brownish> gotcha
[20:29:07] <brownish> 0.0.0.0 means its listening to all other ips
[20:29:25] *** ico has quit IRC
[20:29:30] <brownish> if you put localhost there then it will only listen for requests coming from localhost
[20:29:34] <brownish> iirc
[20:29:48] *** ico has joined #angularjs
[20:30:17] *** Guest10537 has quit IRC
[20:30:22] <kegster> ahh ok
[20:30:28] <kegster> well i put false and it worked now haha
[20:30:35] <kegster> yay
[20:30:43] <kegster> now i can actually write and test some code
[20:30:47] <brownish> lol
[20:30:47] <brownish> nice
[20:31:05] *** erere has quit IRC
[20:31:11] <kegster> man i owe a lot of beers today
[20:31:11] <kegster> haha
[20:31:17] <brownish> lol
[20:31:33] *** startupality has quit IRC
[20:31:39] *** yky_ has quit IRC
[20:32:43] *** yky_ has joined #angularjs
[20:33:03] <kegster> seriously man i couldn't get ANYTHING TO WORK
[20:33:08] <kegster> i got better results from scratch than a stack
[20:33:17] <kegster> i figured a stack would put me in a position where i could tinker around
[20:33:50] *** hefox has quit IRC
[20:33:52] <brownish> which stack did you try?
[20:33:57] *** quadmasta has quit IRC
[20:33:59] *** sbellina has quit IRC
[20:34:35] *** nanoz has quit IRC
[20:36:05] *** glitch-hat has quit IRC
[20:36:15] *** jstroem has joined #angularjs
[20:37:53] *** yky_ has quit IRC
[20:38:40] *** marthinal has joined #angularjs
[20:42:43] *** n00bdev has joined #angularjs
[20:44:21] *** ico has quit IRC
[20:44:21] *** pose has joined #angularjs
[20:44:45] *** ico has joined #angularjs
[20:46:28] *** Pspfolio has joined #angularjs
[20:47:22] *** iraj has quit IRC
[20:47:49] *** ico has quit IRC
[20:48:06] *** ahhhndi has quit IRC
[20:48:20] *** ico has joined #angularjs
[20:48:21] *** icfantv has quit IRC
[20:48:47] *** sssilver has joined #angularjs
[20:49:17] *** ahhhndi has joined #angularjs
[20:51:26] *** Aliks has joined #angularjs
[20:53:13] *** marthinal has quit IRC
[20:56:05] *** Aliks has quit IRC
[20:56:50] *** ico has quit IRC
[20:58:07] *** dszmaj has quit IRC
[21:00:29] *** iraj has joined #angularjs
[21:00:49] *** buzzedword has joined #angularjs
[21:01:32] *** glitch-hat has joined #angularjs
[21:01:33] *** ico has joined #angularjs
[21:03:05] *** hefox has joined #angularjs
[21:05:28] *** phrozensilver_ has joined #angularjs
[21:05:35] *** phrozensilver has quit IRC
[21:06:15] *** ico has quit IRC
[21:06:15] *** iraj has quit IRC
[21:06:19] *** swordfish has joined #angularjs
[21:06:33] *** brownish has quit IRC
[21:06:50] *** brownish has joined #angularjs
[21:08:06] *** pose has quit IRC
[21:08:42] *** icebox has quit IRC
[21:08:43] *** pose has joined #angularjs
[21:09:39] *** swordfish has quit IRC
[21:09:45] *** swordfish has joined #angularjs
[21:10:08] *** dpicky has joined #angularjs
[21:11:35] *** ico has joined #angularjs
[21:12:07] *** buzzedword has quit IRC
[21:12:27] *** cacts has joined #angularjs
[21:12:37] *** buzzedword has joined #angularjs
[21:13:15] <Zlepper> Any experts want to take a jab at this? http://stackoverflow.com/questions/34536360/
[21:13:16] *** ico has quit IRC
[21:13:27] *** pose has quit IRC
[21:13:46] *** ico has joined #angularjs
[21:14:55] *** I has joined #angularjs
[21:15:07] *** speeddragon has joined #angularjs
[21:15:18] *** I is now known as Guest77460
[21:15:25] *** baweaver has quit IRC
[21:15:30] *** Guest77460 has quit IRC
[21:15:38] *** HarunTy has quit IRC
[21:15:41] *** despai has joined #angularjs
[21:16:33] *** speeddragon has quit IRC
[21:16:45] *** yes`r has quit IRC
[21:17:03] *** speeddragon has joined #angularjs
[21:18:04] *** iraj has joined #angularjs
[21:18:25] *** speeddragon has quit IRC
[21:18:42] *** pose has joined #angularjs
[21:18:44] *** tilen has quit IRC
[21:18:44] *** speeddragon has joined #angularjs
[21:18:50] *** buzzedword has quit IRC
[21:19:15] *** hefox has quit IRC
[21:19:49] *** dpicky has quit IRC
[21:19:55] *** dpicky has joined #angularjs
[21:19:56] *** speeddragon has quit IRC
[21:21:06] *** soee_ has quit IRC
[21:21:30] *** itaipu has joined #angularjs
[21:22:37] *** speeddragon has joined #angularjs
[21:23:40] *** buzzedword has joined #angularjs
[21:23:43] *** speeddragon has quit IRC
[21:24:00] *** devJunk has joined #angularjs
[21:24:09] *** speeddragon has joined #angularjs
[21:25:28] *** speeddragon has quit IRC
[21:25:59] *** speeddragon has joined #angularjs
[21:27:12] *** glitch-hat has quit IRC
[21:27:31] *** speeddragon has quit IRC
[21:27:39] *** sbellina has joined #angularjs
[21:27:39] *** doodlehaus has joined #angularjs
[21:29:27] *** iraj has quit IRC
[21:29:32] *** erve has quit IRC
[21:31:56] *** Bodin has joined #angularjs
[21:32:20] *** sbellina has quit IRC
[21:33:12] *** sterns has quit IRC
[21:33:29] *** morissette has quit IRC
[21:35:53] *** ico has quit IRC
[21:36:00] *** Pspfolio has quit IRC
[21:36:08] *** Zalabinsky has quit IRC
[21:36:17] *** ico has joined #angularjs
[21:36:58] *** ico has joined #angularjs
[21:38:40] *** n00bdev has quit IRC
[21:39:50] *** Videbligo has joined #angularjs
[21:40:02] *** dopesong has joined #angularjs
[21:40:16] <Videbligo> hi
[21:40:30] <Videbligo> is there anyone on that can help me with a service, factory and controller all working together?
[21:40:32] *** Zlepper has quit IRC
[21:40:45] *** Burgerz has joined #angularjs
[21:40:55] <Ginger> Whats wrong?
[21:40:59] <Videbligo> here's the fiddle:http://jsfiddle.net/vchokshi/2ttjbfc4/16/
[21:41:45] <Videbligo> in a nutshell, services works, factory works, controller works, but output of factory using the client service wont return a object. I think its a dependency issue, but I don't know how to work with it.
[21:43:11] *** GuiltyLemon is now known as Guiltylemon|AFK
[21:43:44] *** KAsp3rd has quit IRC
[21:43:44] *** jstroem has quit IRC
[21:44:05] <Ginger> can you show a definition of the client service?
[21:44:54] *** kgee has quit IRC
[21:45:24] <Videbligo> I know that part works, as I can console.log(response) in line 24 and I get the answer.
[21:45:41] *** gladely has joined #angularjs
[21:46:00] <Videbligo> just updated the fidddle
[21:46:03] *** wontoner has joined #angularjs
[21:46:25] *** ico has quit IRC
[21:46:39] <Videbligo> so I don't know if this is a timing issue or a scope issue, or both, or neither!!
[21:46:44] *** boneskull is now known as boneskull[away]
[21:46:55] *** ico has joined #angularjs
[21:47:48] <Ginger> i would return response inside the if(), what are you getting as a response in the controller?
[21:49:35] <Videbligo> Object {} //empty object
[21:49:46] *** sixr420 has quit IRC
[21:50:13] *** buzzedword has quit IRC
[21:50:16] *** brownbathrobe has quit IRC
[21:50:19] <Videbligo> shouldn't profile = response set the var global to response which is available in the scope?
[21:50:46] *** schneider has quit IRC
[21:50:59] <Ginger> yea i would think so
[21:51:24] <Ginger> define the variable in the function and try it again
[21:51:53] <brownish> are you using $http to request the data in client.search?
[21:51:59] *** ico has quit IRC
[21:52:54] *** sixr420 has joined #angularjs
[21:53:00] <Videbligo> yes
[21:53:08] *** dpicky has quit IRC
[21:53:27] <Videbligo> its an elastic search client
[21:54:08] <Ginger> wouldn't it then be returning a promise
[21:54:15] <brownish> in your controller, try using profileService.getProfile().success(function(response))
[21:54:33] <brownish> yeah i would guess the promise isnt resolving before being applied to the scope
[21:55:02] <brownish> i normally use ui-router to resolve my $http requests before page load so the controller is guaranteed to have the data it needs
[21:55:19] *** eago has joined #angularjs
[21:55:21] *** elperdut_ has quit IRC
[21:55:41] <Videbligo> I am using ui-router also.
[21:56:03] <Videbligo> I also have an interceptor that injects a bearer token.
[21:56:42] <brownish> then add a function into the state's resolve that returns the data, then inject that key into your controller.
[21:56:48] *** fedenunez has quit IRC
[21:57:03] <Videbligo> hmmm
[21:57:09] <Videbligo> that sounds hard!! :-)
[21:57:38] *** boneskull[away] is now known as boneskull
[21:57:42] <brownish> lol
[21:58:16] *** bayousoft has quit IRC
[21:58:18] *** delgiudices has quit IRC
[21:58:20] <brownish> https://github.com/angular-ui/ui-router/wiki#resolve
[21:58:51] <brownish> something like:
[21:59:29] <brownish> resolve: {profile: function(profileService) {return profileService.getProfile()}}
[21:59:35] <brownish> then in your controller
[22:00:13] <brownish> function profileCtrl($scope, profile) { $scope.profile = profile; }
[22:00:18] *** dopesong has quit IRC
[22:00:33] <brownish> you inject the resolves into the controllers using the key name
[22:01:39] *** dopesong has joined #angularjs
[22:02:03] *** DavidDudson has joined #angularjs
[22:03:23] *** dopesong has quit IRC
[22:03:39] <Videbligo> ok, I sort of see what you're doing, but profileService will have more services offered, i.e getEntitlements, getContatctInfo, etc.
[22:03:42] *** dopesong has joined #angularjs
[22:03:52] <brownish> then add more resolves
[22:03:56] <brownish> and inject those keys too
[22:04:01] <Videbligo> ok
[22:04:07] <brownish> that's what i do, at least
[22:04:21] <Videbligo> is this as complicated as it seems?
[22:04:25] <Videbligo> ;-)
[22:04:42] <brownish> and you can inject resolve.profiles into resolve.entitlements, etc
[22:04:59] <brownish> if you need to get a value from the server in order to get the next
[22:04:59] *** mnzaki has quit IRC
[22:05:09] <brownish> yeah it took me a while to figure out why my services never worked lol
[22:05:29] <Videbligo> everything should come back in getProfile, then we just request different parts in each controller.
[22:05:40] *** DJDelusional has quit IRC
[22:05:43] <Videbligo> through the exposed APIs
[22:06:29] <brownish> does getProfile return an object containing more $http functions?
[22:06:44] <Videbligo> no, just an object
[22:06:52] <brownish> ok then that's perfect
[22:07:10] <Videbligo> ok, time to check in the code and then hack away.
[22:07:15] <brownish> if getProfile returns everything you need then just resolve that, inject profile, and use it in the controller
[22:07:15] <Videbligo> godspeed
[22:07:47] *** fedenunez has joined #angularjs
[22:08:14] *** devJunk has quit IRC
[22:09:44] *** waspinator has joined #angularjs
[22:10:11] *** glitch-hat has joined #angularjs
[22:10:18] *** jstroem has joined #angularjs
[22:10:43] *** elperdut_ has joined #angularjs
[22:11:03] *** phree has joined #angularjs
[22:12:05] *** tantommy has joined #angularjs
[22:12:55] *** p0k0 has joined #angularjs
[22:13:20] *** ahhhndi has quit IRC
[22:14:26] *** jstroem has quit IRC
[22:15:09] *** Aliks has joined #angularjs
[22:15:47] *** Shane has joined #angularjs
[22:17:56] *** Shane has quit IRC
[22:18:00] *** ensyde has quit IRC
[22:18:36] *** elperdut_ has quit IRC
[22:19:54] *** postsneakernet has joined #angularjs
[22:19:57] *** pose has quit IRC
[22:20:16] *** dutis has quit IRC
[22:20:26] *** itaipu has quit IRC
[22:20:34] *** tarnus has quit IRC
[22:21:12] <Videbligo> injector problems.
[22:21:51] <brownish> paste your state object into that jsfiddle
[22:21:54] <Videbligo> hang on
[22:22:01] <Videbligo> I put the resolve in an abstract state
[22:23:09] *** kgee has joined #angularjs
[22:23:34] <Videbligo> ok that didn't make a difference. I pasted it in
[22:24:16] <Videbligo> wait. semicolon
[22:24:55] <Videbligo> nope
[22:24:56] <brownish> stll the same
[22:24:57] <brownish> save it
[22:25:14] <Videbligo> ok
[22:25:15] *** fedenunez has quit IRC
[22:26:13] *** pose has joined #angularjs
[22:26:34] <brownish> btw that fiddle is using angular-1.0.1
[22:26:50] *** tarnus has joined #angularjs
[22:26:57] *** rikkipitt has joined #angularjs
[22:27:14] *** cotko has joined #angularjs
[22:28:02] <Videbligo> its my first fiddle. :-)
[22:28:10] <brownish> hehe
[22:28:58] <brownish> you can add ui-router in external resources, and add one of several angular version if you click the javascript button with the gear in the js window
[22:29:11] *** dimtruck is now known as zz_dimtruck
[22:29:17] <Videbligo> ok let me try to mess with it.
[22:32:27] *** kopasetik has joined #angularjs
[22:32:40] *** doodlehaus has quit IRC
[22:32:46] *** hackel has quit IRC
[22:35:04] *** drej has joined #angularjs
[22:35:37] *** x3al has quit IRC
[22:35:45] *** itaipu has joined #angularjs
[22:36:53] *** glitch-hat has quit IRC
[22:36:56] *** pose has quit IRC
[22:37:09] *** ico has joined #angularjs
[22:37:22] *** hackel has joined #angularjs
[22:37:34] <Ginger>
[22:40:18] *** yky_ has joined #angularjs
[22:40:47] <brownish> http://codepen.io/brownish/pen/xZRmPB try that
[22:41:16] <brownish> i moved your fiddle to codepen, and added ui-router and angular 1.4.8
[22:41:21] <Ginger> Im working in angular 2 and I'm having a problem binding a property to a radio button the bound property doesn't update its value
[22:41:21] <Ginger> <label *ngFor="#item of model.itemList"> <input type="radio" name="item" [(ngModel)]="model.selectedItem">{{item.title}} </label>
[22:41:32] *** cotko has quit IRC
[22:41:45] *** brownbathrobe has joined #angularjs
[22:42:36] <Ginger> Does anyone know if im binding this incorrectly?
[22:42:49] *** zivester has joined #angularjs
[22:43:46] *** cotko has joined #angularjs
[22:43:58] *** benjamingr_ has joined #angularjs
[22:44:21] <brownish> check this out Ginger, http://plnkr.co/edit/aggee6An1iHfwsqGoE3q?p=preview
[22:44:28] <brownish> not sure if that is still relevant
[22:45:33] *** sterns has joined #angularjs
[22:45:38] *** drej has quit IRC
[22:46:46] *** sergey has quit IRC
[22:46:47] *** pose has joined #angularjs
[22:46:53] *** Flo has joined #angularjs
[22:47:51] *** zz_dimtruck is now known as dimtruck
[22:48:14] *** x3al has joined #angularjs
[22:48:28] *** LabCoatNomad has joined #angularjs
[22:48:47] *** kopasetik has quit IRC
[22:50:28] *** kopasetik has joined #angularjs
[22:50:30] *** thomas has quit IRC
[22:51:35] *** Guiltylemon|AFK is now known as GuiltyLemon
[22:52:43] <Videbligo> brownish, Ginger, fiddle updated.
[22:52:46] *** afoat has joined #angularjs
[22:53:13] *** afoat has quit IRC
[22:53:26] <brownish> it didn't update for me videbligo
[22:53:32] *** fscala has quit IRC
[22:53:44] *** postsneakernet has quit IRC
[22:53:46] <Videbligo> now?
[22:54:03] <brownish> repaste the url here
[22:54:09] *** Takumo has quit IRC
[22:54:10] <Videbligo> http://jsfiddle.net/vchokshi/2ttjbfc4/50/
[22:54:17] *** rikkipitt has quit IRC
[22:54:19] <brownish> there we go
[22:54:47] *** x3al_ has joined #angularjs
[22:54:56] *** Takumo has joined #angularjs
[22:54:56] *** Takumo has joined #angularjs
[22:55:54] <Videbligo> I think I could put the client definition in here also and load that dependency but then I'd have to take this thing private.
[22:56:06] <Videbligo> because I'd have to drop the proxy.
[22:56:41] *** fscala has joined #angularjs
[22:57:01] *** brownbathrobe has quit IRC
[22:57:07] *** ico has quit IRC
[22:57:14] *** Magik6k has quit IRC
[22:57:16] <Ginger> @Brownish that worked after i adapted it to my proj thanks!
[22:57:31] *** thomas has joined #angularjs
[22:57:36] *** ico has joined #angularjs
[22:57:42] <brownish> awesome!
[22:57:51] *** x3al has quit IRC
[22:57:58] <Ginger> @brownish they must not have gotten to implementing radio input binding
[22:58:02] *** siba has joined #angularjs
[22:58:36] *** ico has quit IRC
[22:59:06] *** ico has joined #angularjs
[22:59:30] <brownish> ginger i found that plnkr from this issue: https://github.com/angular/angular/issues/4285
[22:59:35] *** herme5 has quit IRC
[22:59:46] <brownish> very recent so it's likely that there are some issues with it
[22:59:53] *** leolrrj has quit IRC
[23:00:35] *** mikeones has quit IRC
[23:00:56] *** ico has quit IRC
[23:01:21] *** ico has joined #angularjs
[23:01:38] *** sonicparke has quit IRC
[23:02:14] *** sonicparke has joined #angularjs
[23:02:47] *** MIO has joined #angularjs
[23:03:08] *** rikkipitt has joined #angularjs
[23:03:12] *** MIO is now known as Guest73304
[23:03:48] *** mikhey has quit IRC
[23:04:12] <brownish> Videbligo, try removing views:{}, from your state
[23:05:11] *** brownbathrobe has joined #angularjs
[23:05:31] *** zac has quit IRC
[23:05:47] *** duriangray has quit IRC
[23:05:48] *** asdf__ has joined #angularjs
[23:05:52] *** doodlehaus has joined #angularjs
[23:06:46] *** dimtruck is now known as zz_dimtruck
[23:06:47] *** sonicpar_ has joined #angularjs
[23:08:22] *** ico has quit IRC
[23:08:37] *** killa_kyle has quit IRC
[23:08:54] *** ico has joined #angularjs
[23:09:11] *** DavidDudson has quit IRC
[23:10:04] *** duriangray has joined #angularjs
[23:10:05] *** GuiltyLemon is now known as Guiltylemon|AFK
[23:10:44] *** sonicparke has quit IRC
[23:10:50] *** herme5 has joined #angularjs
[23:11:46] *** ico has quit IRC
[23:11:46] *** ycon_ has joined #angularjs
[23:12:12] *** zz_dimtruck is now known as dimtruck
[23:12:16] *** ico has joined #angularjs
[23:12:19] *** glitch-hat has joined #angularjs
[23:13:04] *** Burgerz has quit IRC
[23:14:24] *** zz_KLUTCH- has quit IRC
[23:14:42] *** madhums has quit IRC
[23:15:26] *** arkin has quit IRC
[23:15:46] *** Helzibah has quit IRC
[23:16:06] *** Takumo has quit IRC
[23:16:09] *** Poeticode has quit IRC
[23:16:10] *** ploegmma has joined #angularjs
[23:16:24] *** leslie has quit IRC
[23:17:00] *** magellanicloud has quit IRC
[23:17:22] <ycon_> Hi all, is it possible to tell something to resolve only once? IE only resolve the first time I open the page?
[23:17:38] *** ico has quit IRC
[23:17:46] *** Aliks has quit IRC
[23:18:04] *** dopesong has quit IRC
[23:18:08] *** ico has joined #angularjs
[23:18:19] *** arkin has joined #angularjs
[23:18:21] *** vandyk has quit IRC
[23:18:25] *** s3shs has quit IRC
[23:18:39] <G1eb> ycon_ if you use ui-router there is resolve specifically for this
[23:18:55] <G1eb> https://github.com/angular-ui/ui-router/wiki#resolve
[23:19:24] *** learningAngular has joined #angularjs
[23:19:29] <ycon_> G1eb: Yes I read that, and I'm using it successfully like this http://dpaste.com/2BS8HMA
[23:19:48] *** zomg has quit IRC
[23:20:03] <ploegmma> when will the Angular2 tutorial on angular.io be completed?
[23:20:04] <G1eb> ycon_ and this resolves more than once?
[23:20:04] <ycon_> however, I want it to only resolve once per URL. for some instances (so user doesnt refresh data everytime)
[23:20:23] *** zol has quit IRC
[23:20:47] <ycon_> G1eb: yes. I can vist url.com/1, then url.com/2. When I return to url.com/1, it will refresh the content
[23:21:12] *** Guiltylemon|AFK is now known as GuiltyLemon
[23:21:27] <G1eb> i see, does url.com/2 related to url.com/1 ?
[23:21:47] <G1eb> i mean, are they parts of the same module/whatever or maybe they reuse data
[23:21:47] *** phrozensilver_ has quit IRC
[23:22:13] <ycon_> not the same data, same $http with a different value (split from the URL)
[23:22:23] *** learningAngular has left #angularjs
[23:23:15] <G1eb> you could do it using a hiererchical approach, where one state is 'parent' of other 'child' states
[23:23:39] <G1eb> parent state would be resolved only once, and users can switch between states without retrieving data again
[23:23:53] <ycon_> G1eb: interesting.... wouldi need to change this entirely? http://dpaste.com/1XY9SJC
[23:24:01] *** Helzibah has joined #angularjs
[23:24:04] <G1eb> alternatively, you can store data that you get from api somewhere, and on resolve check if the data is still there
[23:24:07] *** zol has joined #angularjs
[23:24:09] *** Takumo has joined #angularjs
[23:24:10] *** Takumo has joined #angularjs
[23:24:15] *** zz_KLUTCH- has joined #angularjs
[23:24:15] *** leslie has joined #angularjs
[23:24:15] *** leslie has joined #angularjs
[23:24:26] *** arkin has quit IRC
[23:24:30] <ploegmma> when will the Angular2 tutorial on angular.io be completed?
[23:24:45] <ploegmma> does anyone know?
[23:25:27] *** Imaginat_ has joined #angularjs
[23:25:45] <G1eb> ycon_ that depends on whether separate views are related to each other, if they are not you might opt to go with option 2
[23:27:17] *** arkin has joined #angularjs
[23:27:35] <ycon_> G1eb: so store data in a chache?
[23:27:38] <ycon_> *cache
[23:27:52] <G1eb> yeah, seems better in this case
[23:27:57] *** brownbathrobe has quit IRC
[23:28:38] *** prbc has joined #angularjs
[23:28:41] *** zomg has joined #angularjs
[23:28:54] *** ploegmma has left #angularjs
[23:29:44] *** pose has quit IRC
[23:29:55] *** SET002 has quit IRC
[23:30:24] *** brownbathrobe has joined #angularjs
[23:31:01] *** phrozensilver has joined #angularjs
[23:31:28] *** baweaver has joined #angularjs
[23:32:03] *** madhums has joined #angularjs
[23:32:29] *** sctskw has joined #angularjs
[23:33:20] *** yky_ has quit IRC
[23:36:42] *** boneskull is now known as boneskull[away]
[23:36:44] *** jhirley has joined #angularjs
[23:37:06] *** krusty_ar_ has joined #angularjs
[23:37:46] *** krusty_ar has quit IRC
[23:37:54] *** Aliks has joined #angularjs
[23:38:15] *** davlefouAMD has quit IRC
[23:39:08] *** ilmgb has quit IRC
[23:39:39] *** itaipu has quit IRC
[23:39:43] *** ilmgb has joined #angularjs
[23:40:22] *** fedenunez has joined #angularjs
[23:40:46] *** eago has quit IRC
[23:41:35] *** beakman has joined #angularjs
[23:42:42] *** doodlehaus has quit IRC
[23:43:54] *** ico has quit IRC
[23:44:06] *** ilmgb has quit IRC
[23:44:22] *** ico has joined #angularjs
[23:44:35] *** Takumo has quit IRC
[23:44:44] *** Helzibah has quit IRC
[23:44:47] *** zol has quit IRC
[23:44:49] *** s00pcan has quit IRC
[23:44:57] *** Qwerty has joined #angularjs
[23:45:05] *** leslie has quit IRC
[23:45:21] *** Qwerty is now known as Guest8734
[23:45:23] *** Helzibah has joined #angularjs
[23:45:27] *** zol has joined #angularjs
[23:45:31] *** Takumo has joined #angularjs
[23:45:32] *** Takumo has joined #angularjs
[23:45:59] *** zomg has quit IRC
[23:47:02] *** s00pcan has joined #angularjs
[23:47:17] *** pbgc has joined #angularjs
[23:49:26] *** despai has quit IRC
[23:49:28] *** baweaver has quit IRC
[23:49:30] *** zz_KLUTCH- has quit IRC
[23:49:50] *** Helzibah has quit IRC
[23:49:54] *** Takumo has quit IRC
[23:50:00] *** miqid has joined #angularjs
[23:50:03] *** zol has quit IRC
[23:50:17] *** leslie has joined #angularjs
[23:50:17] *** leslie has joined #angularjs
[23:50:25] *** Helzibah has joined #angularjs
[23:50:26] *** arkin has quit IRC
[23:50:52] *** Zalabinsky has joined #angularjs
[23:51:12] *** zol has joined #angularjs
[23:51:12] *** davlefouAMD has joined #angularjs
[23:51:40] *** Videbligo has quit IRC
[23:51:47] *** zz_KLUTCH- has joined #angularjs
[23:51:51] *** ico has quit IRC
[23:52:15] *** Takumo has joined #angularjs
[23:52:16] *** Takumo has joined #angularjs
[23:52:18] *** arkin has joined #angularjs
[23:52:21] *** ico has joined #angularjs
[23:52:43] *** sctskw has quit IRC
[23:53:51] *** rikkipitt has quit IRC
[23:53:59] *** drej has joined #angularjs
[23:54:07] *** zomg has joined #angularjs
[23:54:55] *** cstipkovic____ has quit IRC
[23:55:06] *** cstipkovic has joined #angularjs
[23:56:38] *** Videbligo has joined #angularjs
[23:56:41] *** ico has quit IRC
[23:57:11] *** ico has joined #angularjs
[23:58:24] *** Guest8734 has quit IRC
[23:59:00] *** ico has quit IRC
[23:59:29] *** ico has joined #angularjs
[23:59:36] *** Magik6k has joined #angularjs
[23:59:42] *** ico has quit IRC
[23:59:48] *** Magik6k has quit IRC
top

   December 30, 2015  
< | 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 | >