Switch to DuckDuckGo Search
   December 9, 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:00:15] *** phrozensilver has quit IRC
[00:00:28] *** Kayra has joined #angularjs
[00:01:07] *** Magik6k has quit IRC
[00:01:08] *** shadowrunner has quit IRC
[00:03:16] <Kayra> I'm having trouble implementing my first directive, trying to display an error message on my page but the message keeps coming up as undefined
[00:03:17] <Kayra> http://dpaste.com/0M78YDG
[00:03:18] *** jojo_ has joined #angularjs
[00:03:34] <Kayra> I've included all bits I think are relevant, please let me know if there is anything I've missed out
[00:03:42] <Kayra> Any help would be greatly appreciated
[00:03:45] *** ngbot has joined #angularjs
[00:03:45] <ngbot> [angular.js] matsko merged master into g3_v1_5: http://git.io/vRH2h
[00:03:45] *** ngbot has left #angularjs
[00:03:58] *** restless_being has quit IRC
[00:04:01] *** restless_being_ has joined #angularjs
[00:04:04] *** Stag has joined #angularjs
[00:04:13] *** C0nundrum has joined #angularjs
[00:04:25] *** gho5t has joined #angularjs
[00:04:42] *** drej has quit IRC
[00:04:47] *** Bubo has joined #angularjs
[00:04:54] *** jojo_ has quit IRC
[00:05:08] <theGleep> I'd say try using {{message}} instead of {{display.message}}
[00:05:10] *** VictorCL has joined #angularjs
[00:05:28] <theGleep> (that would be inside the directive)
[00:06:06] <Stag> Hi folks, assuming that I have a lot of the same directive on the same page, is there a good way to wait for the directive to become visible before calling init function ?
[00:06:19] <Stag> except for setting intervals and checking visibility
[00:06:20] <theGleep> http://dpaste.com/3XFV4EJ
[00:06:26] <theGleep> (for Kayra)
[00:06:46] *** iamnix has quit IRC
[00:07:05] *** mischat has quit IRC
[00:07:15] <Kayra> theGleep: Ah yeah that was what I had originally, I put the controller name in there out of desperation, neither of them seem to work
[00:07:34] *** annlewis has joined #angularjs
[00:07:39] *** mischat has joined #angularjs
[00:07:43] *** tomphp has quit IRC
[00:07:48] <theGleep> Stag: you might watch for $scope.$on("$viewContentLoaded") ... I've got something like that in my code; but I don't remember why at the moment.
[00:08:28] *** charper2 has quit IRC
[00:08:29] <mekhami> i'm having trouble with something. I have an $http.delete() call that executes, because the record gets deleted, but nothing inside the .then() executes. I can't get anything to console.log from within that.
[00:08:29] <Stag> theGleep, view content loaded does not mean the element itself is visible
[00:08:40] <theGleep> Ah. 'k.
[00:08:47] *** dragonpiper has joined #angularjs
[00:08:55] *** erebel55 has quit IRC
[00:09:36] *** z4c has quit IRC
[00:09:44] <Stag> mekhami, .catch((e) => console.log(e))
[00:11:23] <mekhami> Stag: nothin
[00:11:58] *** csharper has joined #angularjs
[00:12:06] *** annlewis has quit IRC
[00:12:19] <mekhami> https://gist.github.com/mekhami/9d9d8d1cea8a3cb18e39 <- the service https://gist.github.com/mekhami/ef453ef08faba6e75691 <- the controller
[00:12:23] *** C0nundrum has quit IRC
[00:12:23] *** cotko has quit IRC
[00:12:41] <mekhami> and i have an ng-click="deleteRsvp(rsvp.id)"
[00:12:49] *** mischat has quit IRC
[00:12:51] <mekhami> when i click it, the record gets deleted
[00:12:59] <mekhami> but it doesn't set the $location.path('/admin') part
[00:13:02] *** tomphp has joined #angularjs
[00:13:09] <mekhami> nor does it console.log anything
[00:13:12] *** dragonpiper is now known as C0nundrum
[00:13:13] <Stag> mekhami, try catching in the service itself
[00:13:53] <mekhami> negative
[00:13:53] *** cvanball has joined #angularjs
[00:13:56] <mekhami> nothin' doin'
[00:13:57] *** theGleep has quit IRC
[00:14:36] *** cvanball has quit IRC
[00:14:43] *** fotoflo has quit IRC
[00:14:49] *** dpicky has joined #angularjs
[00:15:14] *** plekplek_ has quit IRC
[00:15:16] *** cvanball has joined #angularjs
[00:15:17] *** fotoflo has joined #angularjs
[00:15:24] *** akramsheira has joined #angularjs
[00:15:30] *** zumba_addict has joined #angularjs
[00:15:37] <akramsheira> Hey everyone
[00:15:43] <akramsheira> I'm trying to use ng-options
[00:15:47] <akramsheira> with a filter
[00:16:06] *** lemur has quit IRC
[00:16:10] *** cvanball has quit IRC
[00:16:16] <akramsheira> and it's working fine but I've an option called 'All', I want to show all options that was filtered when I click on 'All'
[00:16:41] *** drej has joined #angularjs
[00:16:42] <Stag> mekhami, what happens if you do console.log(rsvpDS.deleteRsvp($scope.rsvp._id))
[00:16:53] *** theGleep has joined #angularjs
[00:16:56] *** tomphp has quit IRC
[00:17:19] *** alboh has quit IRC
[00:17:34] <theGleep> Karyra: My computer rebooted ... did you get your issue fixed? Can you re-post if not?
[00:18:03] <Kayra> theGleep: Still trying to fix it to no avail, http://dpaste.com/0M78YDG
[00:18:27] *** dpicky_ has quit IRC
[00:18:28] <mekhami> Stag: what should it do? it logs a {$$state: Object} something or other
[00:18:33] <mekhami> not sure what I'm looking at there
[00:18:50] *** zumba_addict has quit IRC
[00:18:52] *** balr0g has quit IRC
[00:19:00] <Stag> mekhami, it should return a promise object
[00:19:12] <Stag> mekhami, and it seems like it does
[00:19:31] *** DavidDudson has joined #angularjs
[00:19:56] *** alboh has joined #angularjs
[00:20:27] <mekhami> but for whatever reason what the .then() function doesn't execute
[00:20:32] *** tomphp has joined #angularjs
[00:20:46] *** ulkesh has quit IRC
[00:21:57] <Stag> mekhami, why is your factory called rsvpDataService but you are calling rsvpDS
[00:22:14] *** dpicky has quit IRC
[00:22:20] *** annlewis has joined #angularjs
[00:22:58] <mekhami> just passed in a more terse name
[00:23:15] <mekhami> shouldn't matter so long as they are in the right order, no?
[00:23:19] *** walden is now known as walden|afk
[00:23:30] *** balr0g has joined #angularjs
[00:25:20] <Stag> mekhami, I thought maybe u r calling a different factory
[00:25:22] *** mglvl has quit IRC
[00:25:34] *** dcherman has joined #angularjs
[00:25:39] <mekhami> nah that part is 100% working
[00:25:42] <Stag> mekhami, I don't know really, seems like you are doing everything as needed
[00:26:02] *** anix has quit IRC
[00:26:07] <Stag> you should try to do $http.delete().then().catch() in the controller
[00:26:14] *** codegenie has joined #angularjs
[00:26:14] *** codegenie has joined #angularjs
[00:26:28] <Stag> if the callbacks are not executing there
[00:26:36] *** kaspar_ has quit IRC
[00:26:45] <Stag> the it has something to do with your api I gusess
[00:26:46] *** annlewis has quit IRC
[00:26:47] <Stag> guess*
[00:27:28] <mekhami> what should the api return in this instance
[00:27:34] <mekhami> after a delete
[00:28:41] <Stag> no idea really, probably 200 status code
[00:28:52] *** k1ng4400 has quit IRC
[00:29:04] <Stag> http://stackoverflow.com/questions/2342579/http-status-code-for-update-and-delete
[00:30:21] *** lemur has joined #angularjs
[00:30:48] <mekhami> stag ah this is the problem
[00:30:56] <mekhami> my api endpoint wasn't returning any json
[00:31:12] *** sweeper has joined #angularjs
[00:31:14] <Stag> mekhami, glad I could help
[00:31:15] <mekhami> so while the api did its logic, the callback doesn't execute because it didn't receive either success or error
[00:32:01] <sweeper> hey so we need to hire like 2-3 angularjs developers with 2-3 years of experience working on decent sized apps
[00:32:09] <sweeper> know where we could look?
[00:32:29] *** owenjones has joined #angularjs
[00:32:39] <Stag> sweeper, elance/upwork/me :D
[00:32:47] *** DavidDudson has quit IRC
[00:33:10] <sweeper> Stag: jachenback at ebackpack dot com
[00:33:14] <sweeper> err
[00:33:31] <sweeper> jachenbach at ebackpack dot com , subject: "angularjs job"
[00:34:30] <Kayra> Any luck theGleep?
[00:34:33] *** dpicky has joined #angularjs
[00:35:25] *** gho5t has quit IRC
[00:36:56] *** macabre has quit IRC
[00:37:39] <theGleep> Not really...the directives I have are kind of played-until-they-worked things. There's a bunch of context missing from your paste, so I'm having trouble tracing it back. I was trying to build a directive from scratch, but that wasn't working...and suddenly things are busy enough here that I've lost concentration :)
[00:37:58] *** dbclk has joined #angularjs
[00:38:10] <Kayra> theGleep: Ah don't worry about it then, thanks for the help :)
[00:38:13] <theGleep> I'd recommend do a bare-minimums directive, then work forward from that.
[00:38:37] <theGleep> Glad to help when I can.
[00:39:42] *** buzzedword has joined #angularjs
[00:42:14] *** jareddlc has quit IRC
[00:43:01] <subone> Kayra: what's up?
[00:43:23] <Kayra> theGleep: Aha this was the bare bones one
[00:43:35] <subone> Looks like you are using an isolated scope and expecting to be able to access inherited scope?
[00:43:38] <theGleep> :) Don't ya just HATE that?
[00:43:50] <Kayra> subone: I can't get my directive to work, all I want to do is pass an error message through
[00:44:09] <Kayra> subone: How would I specify an inherited scope?
[00:44:35] <subone> When you pass an object to 'scope' property in the directive object, it makes an isolated scope
[00:44:39] *** Stag has quit IRC
[00:44:40] <theGleep> Can you get the directive working without any scope references (just a hard-coded message value); then add a scope variable and output that; then you know you're just messing with the actual passing of values
[00:44:42] <subone> which means <p>{{display.message}}</p> won't know what display is
[00:44:52] *** akramsheira has quit IRC
[00:45:14] <Kayra> subone: Ah yeah that was a mistake to leave in sorry, I have also tried just message and still have the same issue
[00:45:23] <Kayra> theGleep: A hardcoded message works
[00:45:24] *** bbarke has left #angularjs
[00:45:26] <subone> Can you create a plunker or other snadbox?
[00:45:40] <Kayra> subone: I'm not sure how to do that but I'll try
[00:45:46] *** soee has quit IRC
[00:45:52] <subone> Kayra: http://plnkr.co/
[00:45:55] *** gho5t has joined #angularjs
[00:45:56] *** jbro has joined #angularjs
[00:46:04] *** jbro has left #angularjs
[00:46:11] *** Wizek has quit IRC
[00:46:17] <subone> It's usually helpful to start there so people that help you can fiddle with it and see it in action
[00:46:28] <subone> So, what is console.log($scope.message); ?
[00:46:46] <Kayra> subone: I have the code on github if that helps
[00:47:00] *** dpicky has quit IRC
[00:47:08] <subone> Can I run it there?
[00:47:14] <subone> what is console.log($scope.message); ?
[00:47:21] <Kayra> subone: That is where I just want to see the message output so that I know is has been passed from the controller into the directive
[00:47:28] <subone> and is it?
[00:47:29] *** lemur has quit IRC
[00:47:47] <Kayra> subone: No, just get an undefined
[00:47:52] <subone> ah ok
[00:47:52] <Kayra> subone: The hit is output though
[00:48:55] *** Aliks has quit IRC
[00:50:02] <subone> and is display set somewhere? I don't see it set anywhere here
[00:50:10] <subone> hence why a plunker would be nice
[00:50:35] <subone> Oh is this supposed to be it? controller: 'FemaleDisplayController as display'
[00:50:39] *** sonofdirt has quit IRC
[00:50:51] *** elperdut has joined #angularjs
[00:50:56] <gho5t> sweeper:
[00:51:11] <gho5t> *may
[00:51:20] <Kayra> subone: That's the one
[00:51:42] *** csharper has quit IRC
[00:51:43] <Kayra> subone: I included the controller, the directive, the route and the element
[00:51:49] <subone> I don't even know if that works, I've not used that syntax nor ui-route if that's what that is
[00:51:49] *** phrozensilver_ has quit IRC
[00:51:50] *** fscala has quit IRC
[00:52:00] *** csharper has joined #angularjs
[00:52:29] <Kayra> subone: It does work, I am doing other things with the controller on the page (just displaying things in the view model)
[00:52:51] <subone> there's not much more I can do for you unless you setup an example on plunker or somewhere
[00:52:52] <Kayra> subone: I can add the rest of the partial if that would help
[00:53:02] <Kayra> subone: I'm trying at the moment
[00:53:24] <subone> For all I know FemaleService.getRandomFemale() is succeeding
[00:53:44] <subone> Since you don't set message there anywhere
[00:53:52] *** Aliks has joined #angularjs
[00:53:55] <Kayra> subone: It isn't, the console.log('hit') is being displayed
[00:54:02] <Kayra> subone: In the directive
[00:54:05] <subone> Have you tried putting something in the then clause, such as vm.message = "Yay!";
[00:54:29] *** fscala has joined #angularjs
[00:54:41] <BahamutWC|Work> an aside, FemaleService is a weird name for a service
[00:54:44] *** lemur has joined #angularjs
[00:54:46] <subone> IDK what the directive has to do with the result of FemaleService.getRandomFemale()
[00:54:50] *** CanyonMan has joined #angularjs
[00:54:54] *** phrozensilver has joined #angularjs
[00:55:01] <subone> I'm saying if FemaleService.getRandomFemale() succeeds then you never set message
[00:55:11] <Kayra> subone: The message is being set on line 24 and is output when I simply output it on to the page as <p>display.message</p>
[00:55:19] <subone> Assuming FemaleService.getRandomFemale() fails
[00:55:26] <subone> I cannot assume that
[00:55:33] <subone> You did not say it does
[00:55:45] <Kayra> subone: Sorry, there is a lot that is going on
[00:55:46] <BahamutWC|Work> Kayra - try doing: function(e) { console.log(e); vm.message = ...; } to see what the error object is
[00:56:06] <BahamutWC|Work> that error object should give more details as to what failed exactly
[00:56:16] <Kayra> BahamutWC|Work: where would I do that? In the controller?
[00:56:22] <BahamutWC|Work> yep
[00:56:28] *** rossk_ has quit IRC
[00:56:30] <Kayra> BahamutWC|Work: But the message is correct in the controller
[00:56:32] <BahamutWC|Work> in the errorback of the FemaleService.getRandomFemale()
[00:56:41] *** DavidDudson has joined #angularjs
[00:56:43] <Kayra> BahamutWC|Work: There is no error there
[00:56:49] <BahamutWC|Work> so what's the issue then?
[00:57:01] *** restless_being_ has quit IRC
[00:57:03] <Kayra> BahamutWC|Work: Line 9 comes back as undefined
[00:57:05] <Kayra> console.log($scope.message);
[00:57:07] <jslootbeek> I'm using angular bootstrap to setup a Tab portlet, but it wraps the tabs in a div with the ng-isolate-scope class. This is causing my CSS is break. Is the only solution to fix the CSS, or can I prevent this div from being in my DOM?
[00:57:20] <BahamutWC|Work> it should be undefined I believe
[00:57:23] <Kayra> The message isn't being passed through to the directive
[00:57:32] <BahamutWC|Work> the controller is instantiated before the binding is linked if I remember how $compile works
[00:57:40] *** restless_being has joined #angularjs
[00:57:50] <BahamutWC|Work> or...
[00:57:56] <BahamutWC|Work> display.message could be undefined
[00:58:17] <Kayra> BahamutWC|Work: Yeah that is just message and still undefined
[00:58:34] <Kayra> BahamutWC|Work: How would I go about solving the binding issue?
[00:58:37] <BahamutWC|Work> right, but FemaleService.getRandomFemale is async
[00:58:56] <BahamutWC|Work> so when the directive instantiates with the directive controller, it is guaranteed to be undefined at that point
[00:59:09] *** shadowrunner has joined #angularjs
[00:59:21] *** zeioth has quit IRC
[00:59:29] *** rossk has joined #angularjs
[00:59:46] <Kayra> BahamutWC|Work: You are correct, I just defined the message in the controller but out of the promise and it worked
[00:59:54] <BahamutWC|Work> :)
[01:00:07] *** dcherman has quit IRC
[01:00:17] <Kayra> BahamutWC|Work: How can I make the directive update when the get request is made?
[01:00:24] *** LeBlaaanc has quit IRC
[01:00:33] <BahamutWC|Work> Kayra it should automatically update when it updates
[01:00:37] *** csharper has quit IRC
[01:01:13] *** logix812 has joined #angularjs
[01:01:20] <Kayra> BahamutWC|Work: Sorry I think you've lost me
[01:01:56] *** fees has quit IRC
[01:02:04] *** csharper has joined #angularjs
[01:02:14] *** gho5t has quit IRC
[01:02:20] <Kayra> BahamutWC|Work: I'm not sure what has been changed to fix it but during all these checks it seems to have sorted it out
[01:03:00] <Kayra> BahamutWC|Work: How odd, it seems to be working now
[01:03:11] *** fantnn has quit IRC
[01:03:16] <Kayra> BahamutWC|Work: But at least I now have a deeper understanding of how it mores
[01:03:29] <subone> I made a plunker for you and it works off the bat
[01:03:35] <Kayra> BahamutWC|Work, subone and theGleep, thank you for your help
[01:03:53] *** dimtruck is now known as zz_dimtruck
[01:04:10] <Kayra> subone: It must have been a small bug I had introduced somewhere, but could you please link me to your plunkr so I could see how to set it up the next time I have an issue?
[01:04:42] <subone> I only changed a few things that were missing http://plnkr.co/edit/6amFsFas3Mw6UGtanhj8?p=preview
[01:04:53] *** moep has quit IRC
[01:04:57] *** fantnn has joined #angularjs
[01:05:02] *** theGleep has quit IRC
[01:05:07] <Kayra> Thank you :)
[01:05:14] *** mary5030 has quit IRC
[01:06:16] *** adiman has quit IRC
[01:06:29] <subone> Kayra: I updated it to use $timeout so it is async and I changed {{display.message}} since you said you made that change already http://plnkr.co/edit/6amFsFas3Mw6UGtanhj8?p=preview
[01:06:29] *** thatslifeson has joined #angularjs
[01:07:02] *** gho5t has joined #angularjs
[01:07:11] <subone> Of course it will output undefined to the console, because it is not yet set at the time the directive controller is run
[01:07:21] <subone> but the output does appear on the page
[01:07:54] <subone> If you want to be able to watch for the change inside the controller you'd have to use something like $observe or $watch
[01:08:00] *** mischat has joined #angularjs
[01:08:20] *** chairmanmow has quit IRC
[01:08:52] *** Hink has quit IRC
[01:09:13] *** Hink has joined #angularjs
[01:10:14] *** swordfis_ has quit IRC
[01:11:39] *** elperdut has quit IRC
[01:14:16] *** Es0teric has joined #angularjs
[01:15:10] *** Es0teric has quit IRC
[01:16:09] <Kayra> subone: Awesome, thank you
[01:16:13] *** fairuz has joined #angularjs
[01:16:17] <subone> np
[01:16:19] *** bluezone has joined #angularjs
[01:16:29] *** subone has quit IRC
[01:17:26] *** itamarjp has joined #angularjs
[01:17:55] *** fairuz has left #angularjs
[01:18:49] *** thatslifeson has quit IRC
[01:18:50] *** realz has quit IRC
[01:18:59] *** realz has joined #angularjs
[01:19:03] *** thatslifeson has joined #angularjs
[01:19:54] *** Hink has quit IRC
[01:20:27] *** thatslifeson has quit IRC
[01:21:12] *** thatslifeson has joined #angularjs
[01:21:14] *** dandaman has quit IRC
[01:21:26] *** gho5t has quit IRC
[01:22:04] *** Hink has joined #angularjs
[01:22:35] *** fotoflo has quit IRC
[01:22:40] *** bisch has quit IRC
[01:22:55] *** thatslifeson has quit IRC
[01:23:03] *** dandaman has joined #angularjs
[01:23:04] *** csharper has quit IRC
[01:23:04] *** annlewis has joined #angularjs
[01:23:20] *** dodobrain has joined #angularjs
[01:23:54] *** bisch has joined #angularjs
[01:24:01] *** csharper has joined #angularjs
[01:24:52] *** shadowrunner- has joined #angularjs
[01:25:06] *** shadowrunner has quit IRC
[01:25:15] *** shadowrunner- is now known as shadowrunner
[01:25:47] *** jrvlima has joined #angularjs
[01:26:23] *** tomphp has quit IRC
[01:26:29] *** edrocks__ has joined #angularjs
[01:27:21] *** C0nundrum has quit IRC
[01:27:31] *** C0nundrum has joined #angularjs
[01:27:44] *** fantnn has quit IRC
[01:27:47] *** annlewis has quit IRC
[01:27:59] *** cocao1 has joined #angularjs
[01:28:02] *** cocao has quit IRC
[01:28:02] *** cocao1 is now known as cocao
[01:28:16] *** fantnn has joined #angularjs
[01:28:41] *** dandaman has quit IRC
[01:29:03] *** Qowface has quit IRC
[01:29:05] *** FingersCrossed has quit IRC
[01:29:06] *** edrocks has quit IRC
[01:29:46] *** tplaner has quit IRC
[01:30:05] *** alboh has quit IRC
[01:30:33] *** ron_frown has joined #angularjs
[01:31:08] *** Guest23569 has joined #angularjs
[01:31:14] *** tplaner has joined #angularjs
[01:31:59] *** fotoflo has joined #angularjs
[01:34:36] *** alboh has joined #angularjs
[01:35:37] *** mellernoia-work has quit IRC
[01:36:09] *** SrinivasGowda has joined #angularjs
[01:36:55] *** JBreit has quit IRC
[01:37:03] *** Aliks has quit IRC
[01:37:08] *** dandaman has joined #angularjs
[01:37:38] *** whitebook has joined #angularjs
[01:37:53] <SrinivasGowda> hello
[01:37:55] <SrinivasGowda> can someone help me with http post method
[01:37:59] <SrinivasGowda> http://paste.ubuntu.com/13841032/
[01:38:01] <SrinivasGowda> I need to send some form data with null values
[01:38:02] *** rchavik_ has joined #angularjs
[01:38:44] *** iraj has quit IRC
[01:38:54] <SrinivasGowda> can someone help me with http post
[01:40:35] <SrinivasGowda> anyone
[01:41:58] *** rchavik has quit IRC
[01:43:03] *** iceball has quit IRC
[01:43:54] *** JBreit has joined #angularjs
[01:45:01] *** b has joined #angularjs
[01:45:22] *** jtimon has joined #angularjs
[01:45:24] *** b is now known as Guest93864
[01:45:34] *** Codefria_ has joined #angularjs
[01:48:07] <SrinivasGowda> hey anyone
[01:48:16] <SrinivasGowda> can someone help me with http
[01:48:18] <SrinivasGowda> post
[01:48:27] *** JBreit has quit IRC
[01:48:51] *** Magik6k has joined #angularjs
[01:49:05] *** freem|nd has quit IRC
[01:49:21] *** Magik6k has joined #angularjs
[01:49:25] *** freem|nd has joined #angularjs
[01:49:41] *** smccarthy has quit IRC
[01:50:22] *** Magik6k has joined #angularjs
[01:51:27] <jslootbeek> SrinivasGowda, what's your question?
[01:51:32] <SrinivasGowda> hi
[01:51:55] <SrinivasGowda> I have a form that is being handled by angular http method
[01:52:01] <SrinivasGowda> let me show u the code
[01:52:41] <SrinivasGowda> http://paste.ubuntu.com/13841531/
[01:52:54] *** Magik6k has joined #angularjs
[01:52:59] *** ulkesh has joined #angularjs
[01:53:05] <SrinivasGowda> jslootbeek, so wen I send the form with even one empty field I get an error
[01:53:23] *** Magik6k has joined #angularjs
[01:53:26] <jslootbeek> is the error from JS or from the API server?
[01:54:44] *** Magik6k has quit IRC
[01:54:47] *** Kayra has quit IRC
[01:54:52] *** phrozensilver_ has joined #angularjs
[01:54:53] <SrinivasGowda> js
[01:56:04] *** gho5t has joined #angularjs
[01:56:09] <jslootbeek> you should probably check each variable, and only append them to the string if they're not null
[01:56:24] <SrinivasGowda> and its only happening with select directive
[01:56:42] *** jae has quit IRC
[01:57:11] *** alanp has quit IRC
[01:57:11] *** Aliks has joined #angularjs
[01:57:44] *** phrozensilver has quit IRC
[01:58:03] <jslootbeek> it may help if you include the error, and the line on which that error occurs
[01:58:08] <SrinivasGowda> sure
[01:58:25] *** SrinivasGowda has quit IRC
[01:58:27] *** fddlr has quit IRC
[01:59:26] *** codegenie has quit IRC
[02:00:11] *** buzzedword has quit IRC
[02:01:08] *** cocao has quit IRC
[02:01:32] *** cocao has joined #angularjs
[02:01:48] *** gho5t has quit IRC
[02:02:10] *** mischat has quit IRC
[02:04:05] *** vader699 has joined #angularjs
[02:05:05] *** dszmaj has quit IRC
[02:05:13] *** erste has quit IRC
[02:05:34] *** salimfadhley has quit IRC
[02:05:36] *** edrocks has joined #angularjs
[02:06:15] *** SteenJobs has joined #angularjs
[02:06:47] *** SteenJobs has quit IRC
[02:08:30] *** saysora has quit IRC
[02:08:36] *** logix812 has quit IRC
[02:08:49] *** mischat has joined #angularjs
[02:10:07] *** owenjones has quit IRC
[02:10:09] *** icfantv has quit IRC
[02:11:33] *** codeman has quit IRC
[02:13:53] *** one_zero has joined #angularjs
[02:14:21] *** logix812 has joined #angularjs
[02:14:43] *** c00ljs has joined #angularjs
[02:14:46] *** Foxandxss has quit IRC
[02:14:50] *** C0nundrum has quit IRC
[02:17:03] *** Aliks has quit IRC
[02:19:22] *** annlewis has joined #angularjs
[02:21:35] *** fantnn has quit IRC
[02:21:46] *** dszmaj has joined #angularjs
[02:22:00] *** dandaman has quit IRC
[02:22:50] *** jae has joined #angularjs
[02:23:59] *** codeman has joined #angularjs
[02:24:02] *** c00ljs has quit IRC
[02:24:30] *** tplaner has quit IRC
[02:24:32] *** logix812 has quit IRC
[02:24:57] *** tplaner has joined #angularjs
[02:25:53] *** alanp has joined #angularjs
[02:27:12] *** shadowrunner has quit IRC
[02:27:18] *** diegoaguilar has quit IRC
[02:27:26] *** Aliks has joined #angularjs
[02:27:57] *** c00ljs has joined #angularjs
[02:28:54] *** dunkel2 has joined #angularjs
[02:28:56] *** owenjones has joined #angularjs
[02:28:58] *** c00ljs has quit IRC
[02:29:13] *** owenjones has quit IRC
[02:29:45] *** annlewis has quit IRC
[02:30:12] *** Guest23569 has quit IRC
[02:30:24] *** LeBlaaanc has joined #angularjs
[02:30:56] *** LeBlaaanc has quit IRC
[02:33:20] *** Jardayn has quit IRC
[02:33:37] *** edrocks has quit IRC
[02:34:28] *** Magik6k has joined #angularjs
[02:34:30] *** JBreit has joined #angularjs
[02:35:02] *** crankharder has quit IRC
[02:35:09] *** DavidDudson has quit IRC
[02:35:14] *** marr has quit IRC
[02:36:10] *** johnnyfive has joined #angularjs
[02:36:16] <JBreit> any recommended authentication tutorials that works well with passport on the backend??
[02:36:24] <Aliks> how do you guys handle <form>s inside of ng-ifs?
[02:36:28] <Aliks> or do you just avoid doing that?
[02:36:40] <Aliks> (if you do that, the form adds itself to a child scope of the controller, rather than the controller's scope)
[02:36:46] *** debster has quit IRC
[02:36:47] *** Guest23569 has joined #angularjs
[02:36:48] *** junmin has quit IRC
[02:38:08] *** debster has joined #angularjs
[02:38:19] *** elperdut_ has joined #angularjs
[02:38:31] <tallsam> /join #bitcoin
[02:39:09] <tallsam> duh
[02:39:12] *** Mumpsimus has quit IRC
[02:39:56] *** diegoaguilar has joined #angularjs
[02:41:25] *** gho5t has joined #angularjs
[02:42:31] *** elperdut_ has quit IRC
[02:43:59] *** LeBlaaanc has joined #angularjs
[02:46:10] *** sdarby2000 has quit IRC
[02:49:06] *** _root has joined #angularjs
[02:49:40] *** HarunTy has quit IRC
[02:50:24] *** dlam has quit IRC
[02:51:07] *** Guest93864 has quit IRC
[02:52:26] *** jtimon has quit IRC
[02:53:06] *** VictorCL has quit IRC
[02:54:26] *** phrozensilver has joined #angularjs
[02:54:35] *** ron_frown has quit IRC
[02:54:51] *** macabre has joined #angularjs
[02:56:26] *** Guest23569 has quit IRC
[02:56:37] *** phrozensilver_ has quit IRC
[02:57:26] *** illume has joined #angularjs
[02:58:42] *** sonofdirt has joined #angularjs
[02:58:57] *** thatslifeson has joined #angularjs
[02:59:01] *** quadmasta has joined #angularjs
[02:59:19] <quadmasta> what's the preferred node package for the router to use with angular2?
[03:00:06] *** lemur has quit IRC
[03:00:11] <quadmasta> angular-new-router?
[03:01:09] *** rho has joined #angularjs
[03:01:09] *** rho has joined #angularjs
[03:01:33] *** devians has joined #angularjs
[03:01:49] *** whitebook has quit IRC
[03:02:06] *** whitebook has joined #angularjs
[03:02:24] *** cocao has quit IRC
[03:02:26] *** gho5t has quit IRC
[03:02:59] *** wontoner has joined #angularjs
[03:03:36] *** kakashiAL has quit IRC
[03:04:37] *** ron_frown has joined #angularjs
[03:06:27] *** cocao has joined #angularjs
[03:06:33] *** d3m0n has joined #angularjs
[03:07:01] *** fedenunez has joined #angularjs
[03:08:06] *** phrozensilver has quit IRC
[03:08:47] *** Kespan has joined #angularjs
[03:08:53] *** gho5t has joined #angularjs
[03:08:58] *** FIFOd has quit IRC
[03:09:42] *** rickmak_ has joined #angularjs
[03:11:00] *** rickmak_ has quit IRC
[03:11:56] *** rileylark has joined #angularjs
[03:13:40] *** quadmasta has quit IRC
[03:13:54] *** jrvlima has quit IRC
[03:14:16] *** conan_the_destro has quit IRC
[03:16:07] *** FIFOd has joined #angularjs
[03:16:25] *** thelasti_ has joined #angularjs
[03:16:55] *** thelastinuit has quit IRC
[03:18:46] *** bgerami has quit IRC
[03:19:51] *** average has joined #angularjs
[03:20:15] <average> I'm thinking of porting my code over from backbone to angular
[03:20:19] <average> but I'm hesitant
[03:20:24] *** fantnn has joined #angularjs
[03:21:29] <average> I think I'll give it more time, bbl
[03:21:30] *** average has left #angularjs
[03:21:37] *** rileylark has quit IRC
[03:22:12] *** edrocks has joined #angularjs
[03:22:26] *** nf has joined #angularjs
[03:23:16] *** rileylark has joined #angularjs
[03:24:06] *** Aliks has quit IRC
[03:24:21] <nf> hi! question. I've got a bunch of promises that i finally execute $q.all on, however, at some point within the chain of promises, i want to save the result of a specific function so that it can be read by the next one. It only seems to work on the next instance of $q.all (which is too late). Is that even possible?
[03:25:12] *** schneider has joined #angularjs
[03:25:13] *** mischat has quit IRC
[03:25:40] *** owenjones has joined #angularjs
[03:25:56] *** annlewis has joined #angularjs
[03:26:07] *** owenjones has quit IRC
[03:30:41] *** zigzagzig has joined #angularjs
[03:30:48] *** annlewis has quit IRC
[03:30:51] *** owenjones has joined #angularjs
[03:31:01] *** Aliks has joined #angularjs
[03:31:52] *** ulkesh has quit IRC
[03:32:12] *** Aliks has quit IRC
[03:32:15] *** ulkesh has joined #angularjs
[03:32:29] *** codeitloadit has quit IRC
[03:33:25] *** Aliks has joined #angularjs
[03:33:43] *** livingstn has joined #angularjs
[03:34:21] *** rickmak has joined #angularjs
[03:36:29] <nf> nevermind http://www.peterbe.com/plog/promises-with-$http seems to have answered that question
[03:37:00] *** rileylark has quit IRC
[03:37:36] *** jtimon has joined #angularjs
[03:39:07] *** junmin has joined #angularjs
[03:39:30] *** subone has joined #angularjs
[03:39:53] *** tiagoboldt has joined #angularjs
[03:43:40] *** p0k0 has joined #angularjs
[03:44:14] *** Kespan has quit IRC
[03:44:15] *** zigzagzig has quit IRC
[03:45:18] *** dunkel2 has quit IRC
[03:45:23] *** DavidDudson has joined #angularjs
[03:46:01] *** codeman has quit IRC
[03:47:55] *** LeBlaaanc has quit IRC
[03:48:07] *** owenjones has quit IRC
[03:50:19] *** syzygy_ has quit IRC
[03:51:17] *** smccarthy has joined #angularjs
[03:51:44] *** illume has quit IRC
[03:53:05] *** ron_frown has quit IRC
[03:53:42] *** illume has joined #angularjs
[03:56:28] *** smccarthy has joined #angularjs
[03:58:50] *** logix812 has joined #angularjs
[03:59:37] *** illume has quit IRC
[04:01:56] *** gho5t has quit IRC
[04:02:30] *** subone has quit IRC
[04:03:38] *** logix812 has quit IRC
[04:03:47] *** edrocks has quit IRC
[04:03:59] *** corioliss has joined #angularjs
[04:04:05] *** sonofdirt has quit IRC
[04:04:46] *** goodenough has quit IRC
[04:05:06] *** Daniel__ has joined #angularjs
[04:05:59] *** shadowrunner has joined #angularjs
[04:06:18] *** whitebook has quit IRC
[04:06:18] *** fedenunez has quit IRC
[04:06:23] *** dandaman has joined #angularjs
[04:07:02] *** Guest74317 has quit IRC
[04:07:03] *** livingstn has quit IRC
[04:07:05] *** Aliks has quit IRC
[04:07:16] *** goodenough has joined #angularjs
[04:07:37] <Daniel__> if a select box is bound to a data model and you select a value, my problem is if you then change the datasource of the select the old selected value continues to show even tho its no longer an option in the select box
[04:07:41] *** goodenough has quit IRC
[04:07:41] *** elton has joined #angularjs
[04:07:52] *** itamar_ has joined #angularjs
[04:08:16] <Daniel__> can someone priv msg me with help regarding this
[04:10:06] *** itamarjp has quit IRC
[04:10:06] *** dbclk has quit IRC
[04:10:50] <Daniel__> need help with select box plz msg me
[04:11:18] *** thatslifeson has quit IRC
[04:11:41] *** bgerami has joined #angularjs
[04:15:28] *** diegoaguilar has quit IRC
[04:15:46] *** lindenle has joined #angularjs
[04:16:12] *** sonofdirt has joined #angularjs
[04:16:33] *** tre has joined #angularjs
[04:16:51] *** ssd532_ has joined #angularjs
[04:19:20] *** cocao has quit IRC
[04:24:23] *** shadowrunner has quit IRC
[04:25:55] *** dandaman has quit IRC
[04:26:43] *** annlewis has joined #angularjs
[04:28:47] *** codeitloadit has joined #angularjs
[04:30:01] *** ProfessionUser has joined #angularjs
[04:31:26] *** annlewis has quit IRC
[04:31:34] *** Aliks has joined #angularjs
[04:32:08] <ProfessionUser> Hi guys ! does anyone got an idea why ng-click trigger on the current tab and also on any other tab that is using the same url on chrome ? i cant find the implementation of ng-click in the source code :(
[04:32:12] *** Codefria_ has quit IRC
[04:32:44] *** b0x has joined #angularjs
[04:32:45] *** b0x has joined #angularjs
[04:32:53] *** codeitloadit has quit IRC
[04:33:11] *** b0x has quit IRC
[04:33:29] *** b0x has joined #angularjs
[04:33:30] *** b0x has joined #angularjs
[04:33:35] *** DavidDudson has quit IRC
[04:34:13] *** Codefria_ has joined #angularjs
[04:34:13] *** cocao has joined #angularjs
[04:34:49] *** FIFOd has quit IRC
[04:35:59] *** dandaman has joined #angularjs
[04:36:49] *** whitebook has joined #angularjs
[04:38:47] *** stephen has joined #angularjs
[04:38:58] *** Codefria_ has quit IRC
[04:39:10] *** Codefria_ has joined #angularjs
[04:39:42] *** italoacasas has joined #angularjs
[04:40:13] *** tplaner has quit IRC
[04:40:43] *** SrinivasGowda has joined #angularjs
[04:41:09] *** Codefria_ has quit IRC
[04:41:53] <SrinivasGowda> hey guys need some help with http post
[04:41:57] <SrinivasGowda> anyone?
[04:42:36] <SrinivasGowda> http://paste.ubuntu.com/13846236/
[04:42:55] *** doppio has joined #angularjs
[04:43:58] <SrinivasGowda> this is the error http://paste.ubuntu.com/13846307/
[04:44:03] <SrinivasGowda> anyone can help me
[04:44:08] *** jhirley has quit IRC
[04:44:17] *** phrozensilver has joined #angularjs
[04:44:43] <SrinivasGowda> http://paste.ubuntu.com/13846307/
[04:45:00] *** whitebook has quit IRC
[04:45:23] *** Boniche has joined #angularjs
[04:45:32] *** elton has quit IRC
[04:46:44] *** Codefria_ has joined #angularjs
[04:46:55] *** salimfadhley has joined #angularjs
[04:50:26] <SrinivasGowda> http://paste.ubuntu.com/13846307/
[04:50:40] <SrinivasGowda> could someone help me
[04:50:52] <SrinivasGowda> http://paste.ubuntu.com/13846236/
[04:52:12] *** tiagoboldt has quit IRC
[04:52:13] *** DavidDudson has joined #angularjs
[04:54:13] *** SteenJobs has joined #angularjs
[04:55:04] <schneider> SrinivasGowda: '&Blood Group='+ encodeURIComponent(person.bloodgroup.name)+ on line 66
[04:55:28] <SrinivasGowda> yes apparently its happening because a vlaue is not set
[04:55:37] <schneider> check property bloodgroup of person
[04:56:46] <SrinivasGowda> schneider, thats how my html looks http://paste.ubuntu.com/13846650/
[04:58:11] *** saysora has joined #angularjs
[04:58:46] *** rho has quit IRC
[04:59:13] <schneider> on line 38 try to change ng-model="$parent.person.bloodgroup" to ng-model="person.bloodgroup"
[04:59:41] <schneider> looks like there is the issue
[05:00:48] <SrinivasGowda> tried that first
[05:00:56] <SrinivasGowda> later changed it to $parent
[05:01:29] *** Codefria_ has quit IRC
[05:01:47] *** Hink has quit IRC
[05:02:55] *** Codefria_ has joined #angularjs
[05:03:42] *** siba has quit IRC
[05:04:28] *** italoacasas has quit IRC
[05:04:59] *** fscala has quit IRC
[05:05:41] *** _root has quit IRC
[05:06:11] *** JamesKZOO has quit IRC
[05:06:22] *** sonofdirt has quit IRC
[05:07:09] <schneider> the error occurs when you select something from that select form?
[05:07:13] *** fantnn has quit IRC
[05:07:17] *** SteenJobs has quit IRC
[05:07:21] *** fscala has joined #angularjs
[05:07:35] *** wontoner has quit IRC
[05:07:51] *** _root has joined #angularjs
[05:08:22] *** itamar_ has quit IRC
[05:09:36] <SrinivasGowda> no when I don't select something
[05:10:04] <SrinivasGowda> so sometimes I need to post the form without some fields
[05:10:21] <SrinivasGowda> like some fields like blood group will need to be posted empty
[05:11:06] *** Aliks has quit IRC
[05:11:25] *** compeman has quit IRC
[05:11:51] <schneider> there is a required attribute in that select
[05:12:00] <schneider> that doesnt mean you need to remove it?
[05:12:15] *** Aces_Charles has joined #angularjs
[05:13:45] <SrinivasGowda> the required attribute is not working on the select directive anyway
[05:14:00] <SrinivasGowda> but tried removing even then no go same issue
[05:16:35] *** jtimon has quit IRC
[05:16:36] *** Codefria_ has quit IRC
[05:17:06] *** Codefria_ has joined #angularjs
[05:19:06] <schneider> well you are trying to post person.bloodgroup.name even if you didnt select it
[05:19:41] <schneider> you should check in your submitData for all properties integrity
[05:19:55] *** DavidDudson has quit IRC
[05:20:05] <SrinivasGowda> ok
[05:20:13] <SrinivasGowda> yes thats what I'm trying to d
[05:20:14] <SrinivasGowda> do
[05:20:20] *** tfry has joined #angularjs
[05:20:21] <SrinivasGowda> but don't know how to
[05:20:24] *** smccarthy has quit IRC
[05:23:23] *** DavidDudson has joined #angularjs
[05:24:29] <schneider> simply you could do '&Blood Group='+encodeURIComponent(person.bloodgroup.name)?person.bloodgroup:''+
[05:25:30] <schneider> but that's not the best approach i think
[05:26:21] *** devPaul has quit IRC
[05:27:23] *** dreamfighter has joined #angularjs
[05:27:29] *** annlewis has joined #angularjs
[05:28:31] *** devPaul has joined #angularjs
[05:28:31] *** Codefria_ has quit IRC
[05:28:52] *** Codefria_ has joined #angularjs
[05:29:19] *** icfantv has joined #angularjs
[05:29:45] <SrinivasGowda> but thats ok
[05:29:51] <SrinivasGowda> I jus need to get this working
[05:30:02] <SrinivasGowda> client needs to present something
[05:30:10] <SrinivasGowda> I can refine the code later
[05:30:20] <SrinivasGowda> jus need to get this working somehow
[05:30:22] *** devPaul has quit IRC
[05:30:30] *** Codefria_ has quit IRC
[05:32:02] *** leolove has quit IRC
[05:32:03] *** Codefria_ has joined #angularjs
[05:32:11] *** annlewis has quit IRC
[05:32:12] *** _root has quit IRC
[05:32:33] *** dandaman has quit IRC
[05:32:40] <schneider> then try my example, it should do the magic :)
[05:33:03] *** Codefria_ has quit IRC
[05:33:04] <schneider> replace line 66 in your js file with '&Blood Group='+encodeURIComponent(person.bloodgroup.name)?person.bloodgroup:''+
[05:33:06] *** _root has joined #angularjs
[05:33:19] *** _root has quit IRC
[05:33:55] *** tre has quit IRC
[05:34:01] <SrinivasGowda> ok one sec
[05:34:23] *** Codefria_ has joined #angularjs
[05:35:00] <SrinivasGowda> nope
[05:35:14] <SrinivasGowda> still stays person.bloodgroup is undefined
[05:36:06] <schneider> error is the same?
[05:36:10] <SrinivasGowda> yep
[05:37:34] *** icfantv has quit IRC
[05:38:55] <schneider> oh
[05:38:57] <schneider> my mistake
[05:39:02] <schneider> i'm a bit tired
[05:39:05] *** leolove has joined #angularjs
[05:39:17] <schneider> person.bloodgroup?'&Blood Group='+encodeURIComponent(person.bloodgroup.name):''+
[05:39:21] <schneider> that should be
[05:39:51] *** Daniel__ has quit IRC
[05:39:57] *** nya_ has joined #angularjs
[05:42:01] *** Codefria_ has quit IRC
[05:42:06] *** burzum has joined #angularjs
[05:42:25] *** SteenJobs has joined #angularjs
[05:42:48] *** burzum2 has quit IRC
[05:42:58] *** junmin has quit IRC
[05:43:04] *** illume has joined #angularjs
[05:43:21] *** junmin has joined #angularjs
[05:43:33] <SrinivasGowda> no seems like its still the same error
[05:43:33] *** phrozensilver_ has joined #angularjs
[05:43:49] <SrinivasGowda> isn't there a better way to serilize the form data in angaular
[05:45:10] <schneider> i'm new to angular aswell so I cant help with that
[05:45:44] *** phrozensilver has quit IRC
[05:45:58] <SrinivasGowda> thanks for trying
[05:46:05] *** elton has joined #angularjs
[05:46:08] <SrinivasGowda> really appreciate your time
[05:46:38] <salimfadhley> hi - could anybody spare a moment to show me how to get Angular working in a tiny codepen example: http://codepen.io/salimfadhley/pen/yeyWxR
[05:46:48] *** elton has quit IRC
[05:46:49] <salimfadhley> or better still, point out what I'm doing wrong?
[05:47:01] *** elton has joined #angularjs
[05:47:10] *** yky has joined #angularjs
[05:47:28] *** cacts has joined #angularjs
[05:47:34] *** yky is now known as Guest71576
[05:47:39] *** macabre has quit IRC
[05:48:17] <schneider> no worries :)
[05:48:46] *** Bubo has quit IRC
[05:49:50] *** devPaul has joined #angularjs
[05:50:11] *** compeman has joined #angularjs
[05:50:11] *** compeman has joined #angularjs
[05:50:26] *** nf has quit IRC
[05:51:22] *** TyrfingMjolnir has quit IRC
[05:54:20] *** eMBee has quit IRC
[05:55:06] *** iateadonut has joined #angularjs
[05:55:42] *** devians has quit IRC
[05:56:28] *** devians has joined #angularjs
[05:56:35] *** thirdknife has joined #angularjs
[05:56:40] *** siba has joined #angularjs
[05:58:02] *** nkhoshaf has joined #angularjs
[05:58:17] <nkhoshaf> Hey guys I need some serious quick help in AngularJS
[05:58:41] <salimfadhley> I know a little - can you ask away?
[05:59:37] <nkhoshaf> http://codepen.io/nkhoshaf/full/EPazqx/
[06:00:10] <nkhoshaf> This is the application I am building. I merely want to save each model so that the user can go back to it if they want.
[06:00:40] <salimfadhley> You mean after a refresh?
[06:00:57] *** codegenie has joined #angularjs
[06:00:58] *** codegenie has joined #angularjs
[06:01:02] <salimfadhley> You want to save the state of the model so people can resume?
[06:01:18] <nkhoshaf> I don't need it to store it after refresh. local storage is fine.
[06:01:19] *** eMBee has joined #angularjs
[06:01:48] <nkhoshaf> I need to store the set of values used in the form and display it as a history So that the user can select one of the sets from the history and the values should populate the form long with the table
[06:02:40] <schneider> well that's cookies, no?
[06:02:48] <schneider> I still didnt used them with angular..
[06:03:09] <nkhoshaf> what do you mean?
[06:03:37] <schneider> how many models a user can save?
[06:04:00] <nkhoshaf> let's say 4
[06:04:01] <schneider> and define the lifetime of a model?
[06:04:56] *** saysora has quit IRC
[06:05:15] <nkhoshaf> I just need it to store 4 models that can be referenced to later on. The lifetime can just be whenever the user is on the page.
[06:05:37] <schneider> got it
[06:07:17] *** debster has quit IRC
[06:07:56] *** junmin has quit IRC
[06:08:14] *** junmin has joined #angularjs
[06:09:09] <nkhoshaf> Let me know if you can help with this AngularJS application:
[06:09:16] <nkhoshaf> http://codepen.io/nkhoshaf/full/EPazqx/
[06:09:28] <schneider> one minute
[06:09:32] <schneider> i'll check your code
[06:09:42] <nkhoshaf> Thank you so much.
[06:11:37] *** realz has quit IRC
[06:11:43] *** xylen_ has quit IRC
[06:12:41] *** sixtay has joined #angularjs
[06:15:51] *** sixtay has quit IRC
[06:17:53] *** realz has joined #angularjs
[06:18:16] *** aks has joined #angularjs
[06:20:01] *** debster has joined #angularjs
[06:22:15] *** prbc has joined #angularjs
[06:22:23] *** SteenJobs has quit IRC
[06:23:05] *** jtimon has joined #angularjs
[06:23:08] <schneider> nkhoshaf: what's the taks you want to do?
[06:23:31] <schneider> as I see in your code the models are saved then you push save model button
[06:23:59] <schneider> what's the issue?
[06:24:00] *** lihaibh has joined #angularjs
[06:24:34] *** devPaul has quit IRC
[06:25:05] <nkhoshaf> I need to save each model to a button that will when clicked runs the saved model.
[06:25:33] <nkhoshaf> For example:
[06:25:55] <nkhoshaf> 1. I input all the variables into the model. This automotically populates the table. I click "Save Model" and the input/table clears.
[06:26:34] <nkhoshaf> A new button called Model 1 appears that saved the models data.
[06:26:49] *** compeman has quit IRC
[06:27:16] <nkhoshaf> 2. I run another model called Model 2 which again populates the table. I click "save Model" which creates a button and saves the model to the button.
[06:27:57] <nkhoshaf> The part I'm missing is when the user clicks Model 1 nothing happens. It doesn't populate the table or the form.
[06:28:18] *** annlewis has joined #angularjs
[06:28:44] <nkhoshaf> Does that make more sense?
[06:30:35] *** elton has quit IRC
[06:31:19] <schneider> yes
[06:31:22] *** prbc has quit IRC
[06:31:26] <schneider> let me a few moments
[06:32:14] <nkhoshaf> k
[06:32:17] *** prbc has joined #angularjs
[06:33:00] *** rickmak has quit IRC
[06:33:15] *** annlewis has quit IRC
[06:34:05] *** SrinivasGowda has quit IRC
[06:34:06] *** SteenJobs has joined #angularjs
[06:35:06] *** juddey has quit IRC
[06:36:06] *** SaltyNewb has joined #angularjs
[06:37:02] *** dszmaj has quit IRC
[06:40:05] *** compeman has joined #angularjs
[06:40:25] *** compeman has joined #angularjs
[06:41:01] *** Alfie has quit IRC
[06:41:06] *** davi has joined #angularjs
[06:41:06] *** davi has joined #angularjs
[06:41:44] *** rchavik_ has quit IRC
[06:43:45] *** phrozensilver has joined #angularjs
[06:44:50] <mekhami> what's the difference between .success()+.error() and .then(successfunc, errorfunc) and why does my app not seem to like the .then version
[06:46:30] <SaltyNewb> The $http legacy promise methods success and error have been deprecated. Use the standard then method instead. If $httpProvider.useLegacyPromiseExtensions is set to false then these methods will throw $http/legacy error.
[06:46:32] *** phrozensilver_ has quit IRC
[06:47:58] *** SteenJobs has quit IRC
[06:48:55] <SaltyNewb> I think the arguments passes success are a little different if I recall.
[06:49:03] <SaltyNewb> *passed
[06:49:53] <schneider> nkhoshaf: http://codepen.io/anon/pen/obgrwZ
[06:50:05] <mekhami> i'm just not sure why .success+.error work but .then doesn't seem to, for me.
[06:51:00] <nkhoshaf> I can't tell you how much I appreciate it. I'm going to look into what you did and understand it for myself.
[06:51:31] <SaltyNewb> you would have to share some code for anyone to help you with that
[06:51:38] <schneider> nkhoshaf there are a few linest changed, not much changed
[06:52:11] <schneider> just use $scope.data for current model
[06:52:23] <schneider> you already have all models in $scope.master
[06:52:56] <schneider> create each button with ng-repead="n in master" ng-click="loadData(n)"
[06:53:16] <schneider> and inside that function just change $scope.data value to n
[06:53:30] *** SteenJobs has joined #angularjs
[06:53:52] *** rchavik_ has joined #angularjs
[06:54:57] *** iraj has joined #angularjs
[06:55:49] *** Danielyan has joined #angularjs
[06:56:51] *** suvdeep has joined #angularjs
[06:57:47] *** davi has quit IRC
[06:59:09] *** thatslifeson has joined #angularjs
[07:00:39] *** tuskkk___ has joined #angularjs
[07:01:04] *** SaltyNewb has quit IRC
[07:01:52] *** juddey has joined #angularjs
[07:02:51] *** davi has joined #angularjs
[07:02:55] *** prbc has quit IRC
[07:04:51] *** Garfield-fr has joined #angularjs
[07:05:31] *** eago has joined #angularjs
[07:06:43] *** rossk has quit IRC
[07:06:55] *** spriz_away is now known as spriz
[07:07:23] *** VaticanCameos has joined #angularjs
[07:07:48] *** rscata has joined #angularjs
[07:09:54] *** bluezald has joined #angularjs
[07:10:57] *** tfry has quit IRC
[07:12:02] *** devians has quit IRC
[07:12:03] *** illume has quit IRC
[07:12:24] *** shubham has joined #angularjs
[07:14:36] *** kaspar_ has joined #angularjs
[07:16:23] *** tfry has joined #angularjs
[07:18:47] *** mhockenbury has joined #angularjs
[07:19:42] *** ProfessionUser has quit IRC
[07:19:55] *** knownasilya has quit IRC
[07:20:39] *** Aliks has joined #angularjs
[07:24:30] *** kp666 has joined #angularjs
[07:25:03] *** Leon has joined #angularjs
[07:27:31] *** annlewis has joined #angularjs
[07:29:34] *** siba has quit IRC
[07:30:44] *** dopesong has joined #angularjs
[07:31:10] *** elton has joined #angularjs
[07:32:26] *** lite_ has joined #angularjs
[07:32:46] *** kaspar_ has quit IRC
[07:32:48] *** Medo_ has joined #angularjs
[07:34:06] *** tfry has quit IRC
[07:34:53] *** realz_ has joined #angularjs
[07:35:52] *** tfry has joined #angularjs
[07:36:07] *** debster has quit IRC
[07:36:44] *** z4c has joined #angularjs
[07:36:45] *** z4c has joined #angularjs
[07:36:57] *** prbc has joined #angularjs
[07:37:51] *** realz has quit IRC
[07:38:13] *** elton has quit IRC
[07:38:26] *** elton has joined #angularjs
[07:38:46] *** punknroll has joined #angularjs
[07:40:20] *** bluezald has quit IRC
[07:41:14] *** leolove has quit IRC
[07:41:53] *** thatslifeson has quit IRC
[07:41:56] *** erol has joined #angularjs
[07:42:37] *** annlewis has quit IRC
[07:42:57] *** annlewis has joined #angularjs
[07:43:54] *** phrozensilver_ has joined #angularjs
[07:45:34] *** debster has joined #angularjs
[07:46:20] *** cacts has quit IRC
[07:46:31] *** phrozensilver has quit IRC
[07:47:40] *** leolove has joined #angularjs
[07:48:59] *** csharper has quit IRC
[07:49:04] *** cvanball has joined #angularjs
[07:49:11] *** eago has quit IRC
[07:50:12] *** thirdknife has quit IRC
[07:50:30] *** cvanball has quit IRC
[07:50:51] *** rickmak_ has joined #angularjs
[07:52:25] *** VeeWee has joined #angularjs
[07:53:54] *** chaitanya_ has joined #angularjs
[07:54:08] *** Aliks has quit IRC
[07:54:23] *** cvanball has joined #angularjs
[07:54:48] *** davi has quit IRC
[07:56:29] *** annlewis has quit IRC
[07:57:05] *** dopesong has quit IRC
[07:57:53] *** enxtur has joined #angularjs
[07:59:07] *** nkhoshaf has quit IRC
[07:59:30] *** cvanball has quit IRC
[07:59:37] *** macabre has joined #angularjs
[07:59:56] *** zeezey has quit IRC
[08:00:55] *** drag0niu1 has joined #angularjs
[08:01:55] *** diffalot has quit IRC
[08:02:08] *** brodul has quit IRC
[08:02:43] *** diffalot has joined #angularjs
[08:03:03] *** brodul has joined #angularjs
[08:04:28] *** macabre has quit IRC
[08:04:29] *** drag0nius has quit IRC
[08:05:03] *** rickmak_ has quit IRC
[08:05:42] *** thirdknife has joined #angularjs
[08:05:48] *** eago has joined #angularjs
[08:06:23] *** thirdkni_ has joined #angularjs
[08:06:32] *** dszmaj has joined #angularjs
[08:07:25] *** tfry has quit IRC
[08:07:37] *** rossk has joined #angularjs
[08:08:04] *** Aliks has joined #angularjs
[08:09:21] *** tfry has joined #angularjs
[08:10:21] *** thirdknife has quit IRC
[08:11:44] *** Aliks has quit IRC
[08:13:03] *** Bloomer has joined #angularjs
[08:13:49] *** z4c has quit IRC
[08:16:03] *** ABhinav8101988 has joined #angularjs
[08:16:08] *** soee has joined #angularjs
[08:18:43] *** stephen has quit IRC
[08:19:11] *** bgerami has quit IRC
[08:20:00] *** dbclk has joined #angularjs
[08:20:30] *** marthinal has joined #angularjs
[08:20:39] *** b0x has quit IRC
[08:22:19] *** brollypop has joined #angularjs
[08:22:34] *** prbc has quit IRC
[08:22:35] *** bluezone has quit IRC
[08:22:38] *** chaitanya_ has quit IRC
[08:23:27] *** rickmak_ has joined #angularjs
[08:23:34] *** Garfield-fr-bis has joined #angularjs
[08:26:03] *** tfry has quit IRC
[08:26:08] *** Dmitri has joined #angularjs
[08:26:25] *** lemur has joined #angularjs
[08:26:25] *** svycka has joined #angularjs
[08:27:15] *** Garfield-fr has quit IRC
[08:28:39] *** prbc has joined #angularjs
[08:28:58] *** baweaver_ has joined #angularjs
[08:30:49] *** prbc has quit IRC
[08:31:02] *** Dmitri has quit IRC
[08:31:10] *** prbc has joined #angularjs
[08:31:26] *** lemur has quit IRC
[08:31:35] *** george_v has joined #angularjs
[08:32:14] *** Wizek has joined #angularjs
[08:33:47] *** dopesong has joined #angularjs
[08:33:54] *** dodobrain has quit IRC
[08:34:46] *** Debnet has joined #angularjs
[08:35:24] *** rickmak_ has quit IRC
[08:38:06] *** dopesong has quit IRC
[08:39:10] *** mosulica has joined #angularjs
[08:39:52] *** Aliks has joined #angularjs
[08:45:56] *** echelog-2 has joined #angularjs
[08:47:12] *** baweaver_ has quit IRC
[08:47:13] *** phrozensilver_ has quit IRC
[08:47:14] *** lemur has joined #angularjs
[08:48:10] *** baweaver_ has joined #angularjs
[08:48:31] *** ssd532_ has quit IRC
[08:49:21] *** suvdeep has quit IRC
[08:49:26] *** nitin_ has joined #angularjs
[08:50:18] *** nitin_ has quit IRC
[08:51:06] *** Wizek has quit IRC
[08:51:15] *** Aliks has quit IRC
[08:51:57] *** lemur has quit IRC
[08:51:57] *** mhockenbury has quit IRC
[08:52:52] *** annlewis has joined #angularjs
[08:53:26] *** iraj has quit IRC
[08:54:39] *** shubham has quit IRC
[08:54:58] *** tarnus has quit IRC
[08:55:34] *** stephanbuys has joined #angularjs
[08:55:47] *** rickmak_ has joined #angularjs
[08:55:50] *** elton has quit IRC
[08:56:05] *** elton has joined #angularjs
[08:57:44] *** annlewis has quit IRC
[08:57:51] *** ahaeger has joined #angularjs
[08:57:53] *** cornerma1 has joined #angularjs
[09:00:10] *** juddey has quit IRC
[09:00:47] *** xxc has joined #angularjs
[09:00:49] <xxc> efdsf
[09:01:08] *** cornerman has quit IRC
[09:01:15] *** juro has joined #angularjs
[09:01:16] <xxc> who quit
[09:01:16] *** cornerma1 is now known as cornerman
[09:01:26] <xxc> ou
[09:01:27] <xxc> out
[09:01:31] *** xxc has quit IRC
[09:02:31] *** codeitloadit has joined #angularjs
[09:02:58] *** Daerist has joined #angularjs
[09:03:23] *** dan2k3k4 has joined #angularjs
[09:04:46] *** dutis has joined #angularjs
[09:05:24] *** cotko has joined #angularjs
[09:06:36] *** Garfield-fr-bis has quit IRC
[09:07:01] *** davonrails has joined #angularjs
[09:07:54] *** rOOb has quit IRC
[09:07:57] *** Aliks has joined #angularjs
[09:07:57] *** kaspar_ has joined #angularjs
[09:09:00] *** siba has joined #angularjs
[09:09:27] *** thatslifeson has joined #angularjs
[09:09:31] *** siba has quit IRC
[09:09:36] *** dopesong has joined #angularjs
[09:09:49] *** juro has quit IRC
[09:09:53] *** dylush has joined #angularjs
[09:10:13] <dylush> What is the best way to broadcast an event from a directive controller?
[09:10:13] *** rickmak_ has quit IRC
[09:10:19] *** suvdeep has joined #angularjs
[09:10:20] *** juro has joined #angularjs
[09:10:30] *** rickmak has joined #angularjs
[09:11:21] *** dylush has left #angularjs
[09:11:27] *** dylush has joined #angularjs
[09:11:30] *** Garfield-fr has joined #angularjs
[09:11:38] *** icebox has joined #angularjs
[09:11:57] *** davonrails has quit IRC
[09:12:18] *** dopesong has quit IRC
[09:12:28] *** davonrails has joined #angularjs
[09:12:35] *** GeekJon has joined #angularjs
[09:13:21] *** Aliks has quit IRC
[09:16:26] *** junmin has quit IRC
[09:16:34] *** icebox has quit IRC
[09:17:02] *** icebox has joined #angularjs
[09:17:04] *** rickmak has quit IRC
[09:17:05] *** elton has quit IRC
[09:17:23] *** rickmak has joined #angularjs
[09:17:30] *** elton has joined #angularjs
[09:18:39] *** sixr420 has quit IRC
[09:18:51] *** codeitloadit has quit IRC
[09:19:22] *** Firo has joined #angularjs
[09:19:33] *** baweaver_ has quit IRC
[09:20:52] <Firo> 666th
[09:21:01] *** lihaibh has quit IRC
[09:21:32] *** dopesong has joined #angularjs
[09:21:51] *** suvdeep has quit IRC
[09:22:04] *** edrocks__ has quit IRC
[09:22:12] *** uNki has joined #angularjs
[09:22:58] *** iraj has joined #angularjs
[09:23:04] *** rickmak has quit IRC
[09:23:05] *** sixr420 has joined #angularjs
[09:24:24] *** stephanbuys has quit IRC
[09:24:30] *** SteenJobs has quit IRC
[09:24:30] *** stephanbuys has joined #angularjs
[09:25:07] *** AndrewIsh has joined #angularjs
[09:26:30] *** rickmak_ has joined #angularjs
[09:26:33] *** VeeWee has quit IRC
[09:26:37] *** dopesong has quit IRC
[09:26:55] *** tangorri has joined #angularjs
[09:27:00] *** Dmitri has joined #angularjs
[09:27:11] *** VeeWee has joined #angularjs
[09:27:39] *** Blacky_ has joined #angularjs
[09:28:09] <Blacky_> hi
[09:29:55] *** tayfun has joined #angularjs
[09:32:18] *** sixr420 has quit IRC
[09:36:20] *** sixr420 has joined #angularjs
[09:37:29] *** Zlatan has joined #angularjs
[09:37:57] *** stephanbuys has left #angularjs
[09:38:34] *** juddey has joined #angularjs
[09:38:59] <Zlatan> hello guys, can someone show me how to use todo task in factory? I already done add and remove todo what i am interesting how to do edit todo and update todo in factory and then call it in controller?
[09:39:40] *** sbellina has quit IRC
[09:39:54] <Aces_Charles> Zlatan could you please post you project on codepen so we can see what you have done so far.
[09:39:57] *** Hounddog has joined #angularjs
[09:40:13] <Zlatan> http://codepen.io/anon/pen/JGoeYX?editors=001
[09:40:22] <Zlatan> yes i can, thank you :-)
[09:40:29] *** kaspar_ has quit IRC
[09:41:22] <Aces_Charles> When the edit button is pressed, what do you want to happen?
[09:41:36] *** rossk has quit IRC
[09:42:06] <Zlatan> then put in input field this todo so i can edit him and update
[09:42:39] *** sbellina has joined #angularjs
[09:42:47] <Aces_Charles> Do you want the edit text field to open in a dialog
[09:42:52] *** sailam has joined #angularjs
[09:43:06] *** juddey has quit IRC
[09:43:14] <Aces_Charles> Or use the same text field as the Add Todo uses?
[09:43:50] <Zlatan> same text filed, ng-model="opravila"
[09:44:05] *** phrozensilver_ has joined #angularjs
[09:46:37] <Zlatan> i've tried but I'm not sure how to do it...so far i had no success
[09:46:42] *** Sky[x] has joined #angularjs
[09:47:25] *** phrozensilver has quit IRC
[09:49:34] *** ahaeger has quit IRC
[09:49:48] *** sailam has quit IRC
[09:51:19] *** doppio has quit IRC
[09:51:41] *** clivejo has joined #angularjs
[09:51:42] *** EREVAN has joined #angularjs
[09:52:29] *** m8 has joined #angularjs
[09:52:29] *** uNki has quit IRC
[09:52:34] *** kaspar_ has joined #angularjs
[09:52:46] *** uNki has joined #angularjs
[09:53:38] *** annlewis has joined #angularjs
[09:55:19] *** Ronyrun has joined #angularjs
[09:55:33] *** salimfadhley has quit IRC
[09:55:54] *** Danielyan has quit IRC
[09:56:05] *** EREVAN has quit IRC
[09:56:17] <Aces_Charles> Zlatan is this what you want? http://codepen.io/anon/pen/KVpPpX
[09:57:46] *** kk_drop has joined #angularjs
[09:57:48] *** kaspar_ has quit IRC
[09:58:08] *** pingupingu has joined #angularjs
[09:58:23] *** annlewis has quit IRC
[09:59:35] *** Flashwit has quit IRC
[09:59:45] *** z4c has joined #angularjs
[09:59:45] *** z4c has joined #angularjs
[09:59:46] *** prbc has quit IRC
[10:00:13] <Zlatan> not exactly :-) i done before this way, i thought this task do it in factory, like add and remove...but like i said, i am not sure if its possible :-) but anyway thank you Aces_Charles, you are the man :-)
[10:01:28] *** GeekJon has quit IRC
[10:02:21] <Aces_Charles> What is you reason for wanting to do it in a factory? If you want to use the factory to store the todos, just create a update function in the factory that has a index and newValue parameter.
[10:03:14] *** pingupingu has quit IRC
[10:04:36] <Zlatan> i tried to completely separate operations from controller, this is just for me to see if its possible nothing else :-)
[10:05:14] *** \du has joined #angularjs
[10:05:15] *** \du has joined #angularjs
[10:06:02] <Aces_Charles> It is usually a good idea to use factorys/services when you can, but in this case it doesn't make much sense to do so.
[10:07:14] *** Dmitri has quit IRC
[10:07:37] *** kakashiAL has joined #angularjs
[10:09:12] *** debster has quit IRC
[10:09:25] *** mynameiswhat has joined #angularjs
[10:09:37] *** m8 has quit IRC
[10:09:49] *** drptbl has joined #angularjs
[10:10:28] *** VeeWee has quit IRC
[10:10:57] <Zlatan> okej :-) just learning Angular :-) thank you once again Charles
[10:12:03] <schneider> I have a list with items that are displayed conditionally with ng-show="someItemCondition". How I would iterate trough all items that are shown(condition for that item is true) at a certain time?
[10:12:31] *** VaticanCameos has quit IRC
[10:13:36] *** tomphp has joined #angularjs
[10:14:31] *** kaspar_ has joined #angularjs
[10:15:52] *** mankoe has joined #angularjs
[10:16:34] <Aces_Charles> schneider when ng-show is used does it add or remove a class from that item? If so just use element
[10:16:51] <Aces_Charles> element.hasClass()
[10:16:52] *** dpicky has joined #angularjs
[10:17:45] *** leolove has quit IRC
[10:18:01] *** TyrfingMjolnir has joined #angularjs
[10:18:07] <schneider> no it doesnt
[10:18:38] *** leolove has joined #angularjs
[10:18:46] *** thatslif_ has joined #angularjs
[10:19:41] *** Dmitri has joined #angularjs
[10:19:54] *** Zlatan has quit IRC
[10:20:23] <Aces_Charles> schneider if ng-show == false then the element will have class ng-hide
[10:20:26] *** thatslifeson has quit IRC
[10:20:49] *** erms has joined #angularjs
[10:22:48] *** TyrfingMjolnir has quit IRC
[10:23:41] *** venkat_330 has joined #angularjs
[10:25:09] *** ahaeger has joined #angularjs
[10:25:15] *** tuskkk___ has quit IRC
[10:28:38] *** DavidDudson has quit IRC
[10:28:50] *** orel`work has joined #angularjs
[10:30:25] *** marr has joined #angularjs
[10:30:37] *** Bloomer has quit IRC
[10:31:54] *** sbasso has joined #angularjs
[10:32:40] *** speeddragon has joined #angularjs
[10:32:54] *** sssdd has joined #angularjs
[10:33:05] <sssdd> Hello
[10:33:05] *** c00ljs has joined #angularjs
[10:33:35] <Aces_Charles> Hi
[10:34:10] <sssdd> Have any one of you guys face endless number of requests with angulajs?
[10:34:22] *** Guest71576 has quit IRC
[10:35:38] *** debster has joined #angularjs
[10:36:26] *** thirdkni_ has quit IRC
[10:36:49] *** speeddragon has quit IRC
[10:37:05] *** mondal has joined #angularjs
[10:37:35] *** rossk has joined #angularjs
[10:38:02] *** brollypop has quit IRC
[10:38:07] *** mondal has quit IRC
[10:38:07] *** jenelizabeth has quit IRC
[10:38:40] *** codeman has joined #angularjs
[10:39:09] *** VaticanCameos has joined #angularjs
[10:39:48] *** speeddragon has joined #angularjs
[10:40:20] *** jlebrech has joined #angularjs
[10:42:27] *** rossk has quit IRC
[10:42:29] *** p0k0 has quit IRC
[10:42:57] *** prbc has joined #angularjs
[10:43:27] *** sssdd has quit IRC
[10:44:15] *** phrozensilver has joined #angularjs
[10:44:36] *** elton has quit IRC
[10:45:49] *** rickmak_ has quit IRC
[10:46:05] *** c00ljs has quit IRC
[10:46:34] *** phrozensilver_ has quit IRC
[10:46:46] *** enxtur has quit IRC
[10:46:51] *** bengillies has joined #angularjs
[10:47:02] *** skvedula has joined #angularjs
[10:47:40] *** prbc has quit IRC
[10:48:10] *** z4c has quit IRC
[10:49:27] *** aks has quit IRC
[10:50:03] *** lihaibh has joined #angularjs
[10:51:42] *** brollypop has joined #angularjs
[10:52:04] *** aks has joined #angularjs
[10:52:22] *** am_ has joined #angularjs
[10:52:51] *** speeddragon has quit IRC
[10:53:42] *** p0k0 has joined #angularjs
[10:53:44] *** VeeWee has joined #angularjs
[10:53:52] *** Igor has joined #angularjs
[10:54:24] *** annlewis has joined #angularjs
[10:54:47] *** Lihai has joined #angularjs
[10:56:11] *** warriorkitty has joined #angularjs
[10:56:26] *** lihaibh has quit IRC
[10:56:38] *** Bloomer has joined #angularjs
[10:57:22] <warriorkitty> Hi all. I'm using ui-select from AngularUI and I'm using server-side search. It works perfectly on "add" but when I edit the item, it doesn't get populated. I'm using vm.contact.company_id as my ng-model.
[10:58:37] <warriorkitty> Add/Edit -> I'm talking about the whole form, not the item inside ui-select.
[10:58:55] *** annlewis has quit IRC
[10:59:06] *** Bloomer has quit IRC
[10:59:26] <warriorkitty> Solved it. Created another variable vm.selectedCompany and populated it on edit with vm.contact.company.
[10:59:50] <warriorkitty> And put the vm.selectedCompany as ng-model.
[11:01:46] *** dbclk has quit IRC
[11:02:01] *** prbc has joined #angularjs
[11:02:16] *** mischat has joined #angularjs
[11:02:36] *** mischat has joined #angularjs
[11:04:30] *** sbasso has quit IRC
[11:05:42] *** rickmak_ has joined #angularjs
[11:06:53] *** SET002 has joined #angularjs
[11:07:37] *** liamonade has joined #angularjs
[11:08:17] *** Bloomer has joined #angularjs
[11:09:15] *** TyrfingMjolnir has joined #angularjs
[11:09:57] *** am_ has quit IRC
[11:10:15] *** mischat has quit IRC
[11:10:37] *** SET003 has quit IRC
[11:11:37] *** erebel55 has joined #angularjs
[11:12:41] *** warriorkitty has quit IRC
[11:15:04] *** brollypop has quit IRC
[11:16:32] *** six has joined #angularjs
[11:16:43] *** brollypop has joined #angularjs
[11:18:26] *** schneider has quit IRC
[11:19:28] *** u0m3_ has joined #angularjs
[11:19:48] *** m8 has joined #angularjs
[11:20:19] *** dszmaj has quit IRC
[11:20:31] *** TyrfingMjolnir has quit IRC
[11:21:06] *** jtimon has quit IRC
[11:21:11] *** vrockai has joined #angularjs
[11:21:52] *** obenns has joined #angularjs
[11:21:52] *** obenns has joined #angularjs
[11:22:23] *** u0m3 has quit IRC
[11:25:52] *** speeddragon has joined #angularjs
[11:28:22] <m8> Hi, there is for angular a better package for managing ajax tables, with pagination filters, etc?
[11:29:10] <icebox> m8: http://www.ag-grid.com/
[11:30:08] <m8> icebox, i've looked at angular-datatables, but i was not convinced
[11:30:16] *** corioliss has quit IRC
[11:30:26] *** drej has quit IRC
[11:30:32] *** speeddragon has quit IRC
[11:30:49] <m8> icebox, i need this for building an admin panel
[11:31:23] *** obenns has quit IRC
[11:31:46] *** ahaeger has quit IRC
[11:31:51] *** Lihai has quit IRC
[11:32:35] *** fcanela has quit IRC
[11:33:18] *** drej has joined #angularjs
[11:33:34] *** eago has quit IRC
[11:33:58] *** jedimind has joined #angularjs
[11:33:59] *** sbasso has joined #angularjs
[11:34:36] <icebox> m8: when you consider a grid widget, it is worthy reading the story of ag-grid: http://www.ag-grid.com/why-the-world-needed-another-angularjs-grid/
[11:37:26] *** drej has quit IRC
[11:38:00] *** speeddragon has joined #angularjs
[11:38:16] *** Odarys has joined #angularjs
[11:38:20] <Odarys> Hello guys
[11:38:43] *** rossk has joined #angularjs
[11:39:07] <Aces_Charles> Hi
[11:39:07] *** Danielyan has joined #angularjs
[11:39:48] <Odarys> I've the following question.. I have a module splitted into several files, one is the main (with all the dependencies defined) and than others, where each one has a factory
[11:40:08] <Odarys> now I defined a .value('X') within the main module file
[11:40:12] *** Lihai has joined #angularjs
[11:40:17] *** juro has quit IRC
[11:40:23] <Odarys> which I want to use as a global variable, in all the module factories
[11:40:33] *** tomaz_b has joined #angularjs
[11:41:11] <Odarys> however it seems that as soon as one of the factories does something like X = new ObjX(), than this is not available within the other factories
[11:41:16] <m8> icebox, it's the good choiche for an admin panel? (crud)
[11:41:30] <icebox> m8: up to you
[11:41:42] *** ahaeger has joined #angularjs
[11:42:14] <Odarys> Does anyone know how I can change (reassign) the .value within a factory, so that this data is available across all other module factories
[11:42:49] *** Tennis has joined #angularjs
[11:43:04] *** TyrfingMjolnir has joined #angularjs
[11:43:16] *** Raina has joined #angularjs
[11:43:30] <Raina> hi
[11:43:49] *** Raina has quit IRC
[11:44:17] *** phrozensilver_ has joined #angularjs
[11:44:51] *** prbc has quit IRC
[11:45:00] <icebox> Odarys: use service/factory to share data between components (services, controllers, directives, etc.)... behind the scene, also "value" is a factory (provider family)... but automagically updates work with objects not with primitives
[11:45:08] *** elton has joined #angularjs
[11:45:17] *** rossk has quit IRC
[11:45:48] <icebox> Odarys: https://docs.angularjs.org/guide/providers
[11:46:50] <icebox> Odarys: How to share data between controllers (or something else) http://plnkr.co/edit/41xY057yPIuKgBEyq0hW?p=preview
[11:47:53] *** Aces_Charles has quit IRC
[11:48:04] <Odarys> alright understood, thanks icebox
[11:48:06] *** phrozensilver has quit IRC
[11:48:42] *** Aces_Charles has joined #angularjs
[11:48:56] *** ragesh has joined #angularjs
[11:49:01] *** Dmitri has quit IRC
[11:49:36] *** ragesh has quit IRC
[11:49:46] *** elton has quit IRC
[11:50:41] *** red__ has joined #angularjs
[11:51:03] *** red__ has quit IRC
[11:51:30] *** tiagoboldt has joined #angularjs
[11:51:51] *** VavaBoba has joined #angularjs
[11:51:52] *** tiagoboldt has quit IRC
[11:52:26] *** ahaeger has quit IRC
[11:52:39] *** nocigar has joined #angularjs
[11:52:52] *** erithacus has joined #angularjs
[11:53:08] *** speeddr__ has joined #angularjs
[11:53:29] *** uNki has quit IRC
[11:53:44] *** adiman has joined #angularjs
[11:54:02] *** uNki has joined #angularjs
[11:54:04] *** prbc has joined #angularjs
[11:54:07] *** whitebook has joined #angularjs
[11:55:11] *** annlewis has joined #angularjs
[11:55:20] *** c00ljs has joined #angularjs
[11:55:40] *** speeddragon has quit IRC
[11:58:40] *** TyrfingMjolnir has quit IRC
[11:58:47] *** dbclk has joined #angularjs
[11:59:02] *** tiagoboldt has joined #angularjs
[11:59:11] <soee> is it good idea to have separate controller for create, index, edit, show given resource ?
[12:00:01] *** annlewis has quit IRC
[12:00:42] *** d3m0n has quit IRC
[12:02:05] *** lnrdo has joined #angularjs
[12:02:46] *** dopesong has joined #angularjs
[12:04:01] *** lite_ has quit IRC
[12:05:44] *** asteele has quit IRC
[12:05:46] *** thirdknife has joined #angularjs
[12:07:17] *** speeddragon has joined #angularjs
[12:08:29] *** codezee has joined #angularjs
[12:08:55] *** fixl has joined #angularjs
[12:09:28] <codezee> I want to execute a jquery code after angular repeat has finished rendering the template. Whats the best way to achieve that?
[12:09:54] *** lnrdo has quit IRC
[12:10:06] *** speeddr__ has quit IRC
[12:10:32] *** lnrdo has joined #angularjs
[12:12:49] *** mischat has joined #angularjs
[12:13:26] *** lnrdo_ has joined #angularjs
[12:13:52] *** erithacus_ has joined #angularjs
[12:14:49] *** lnrdo has quit IRC
[12:15:21] *** mischat has quit IRC
[12:17:09] *** phrozensilver_ has quit IRC
[12:17:12] *** erithacus has quit IRC
[12:18:05] *** rickmak_ has quit IRC
[12:21:49] *** lite_ has joined #angularjs
[12:22:03] *** Dmitri has joined #angularjs
[12:23:25] *** fcanela has joined #angularjs
[12:23:25] *** fcanela has joined #angularjs
[12:23:30] *** dopesong has quit IRC
[12:24:04] *** dopesong has joined #angularjs
[12:24:39] *** rickmak_ has joined #angularjs
[12:25:42] *** leolove has quit IRC
[12:26:37] *** leolove has joined #angularjs
[12:30:17] *** shainp has joined #angularjs
[12:31:15] *** u0m3 has joined #angularjs
[12:31:53] *** mellernoia has joined #angularjs
[12:31:54] *** shainp has quit IRC
[12:32:25] *** u0m3 has quit IRC
[12:33:26] *** marthinal has quit IRC
[12:33:36] *** u0m3_ has quit IRC
[12:34:04] *** leolrrj has joined #angularjs
[12:34:11] *** kam270 has joined #angularjs
[12:35:03] *** annlewis has joined #angularjs
[12:35:20] *** leolove has quit IRC
[12:35:54] *** thatslif_ has quit IRC
[12:38:15] *** gho5t has joined #angularjs
[12:38:37] *** aks has quit IRC
[12:39:01] *** elyssonmr has joined #angularjs
[12:39:18] *** dylush has quit IRC
[12:39:29] *** prbc has quit IRC
[12:40:14] *** VavaBoba has quit IRC
[12:40:26] *** intellix has joined #angularjs
[12:40:49] *** dan2k3k4 is now known as dan2k3k4-away
[12:41:22] *** rossk has joined #angularjs
[12:42:17] *** aks has joined #angularjs
[12:42:29] *** iraj has quit IRC
[12:42:42] *** fixl has quit IRC
[12:42:55] *** thiatt has joined #angularjs
[12:42:58] <thiatt> cheers
[12:43:15] <thiatt> is it possible to extend the .directive provider so it can handle custom properties on the directive factory?
[12:43:46] <thiatt> i.e. adding a "cssUrl" property
[12:45:32] *** annlewis has quit IRC
[12:45:34] *** marthinal has joined #angularjs
[12:45:57] *** rossk has quit IRC
[12:46:08] *** tomaz_b has quit IRC
[12:46:27] *** elton has joined #angularjs
[12:47:32] *** sbellina has quit IRC
[12:47:36] *** aks has quit IRC
[12:47:57] *** yozilla has joined #angularjs
[12:48:55] *** dan2k3k4-away has quit IRC
[12:48:56] *** codezee has quit IRC
[12:49:17] *** dan2k3k4 has joined #angularjs
[12:49:34] *** VaticanCameos has quit IRC
[12:49:42] *** one_zero has quit IRC
[12:49:47] *** compeman_ has joined #angularjs
[12:49:51] *** Garfield-fr has quit IRC
[12:50:10] *** dan2k3k4 has quit IRC
[12:50:53] *** VaticanCameos has joined #angularjs
[12:51:02] *** salimfadhley has joined #angularjs
[12:51:09] *** compeman has quit IRC
[12:51:20] *** elton has quit IRC
[12:51:31] *** Codefria_ has joined #angularjs
[12:51:36] *** AlecTaylor has joined #angularjs
[12:51:39] <AlecTaylor> hi
[12:52:35] <AlecTaylor> My token is in a custom service, not $rootScope. How do I access it in .run(), when it isn't a dependency of the root module?
[12:53:11] *** dpicky_ has joined #angularjs
[12:53:31] *** dylush has joined #angularjs
[12:53:56] *** fairuz has joined #angularjs
[12:54:20] *** mischat has joined #angularjs
[12:55:10] *** dpicky has quit IRC
[12:55:39] *** Bloomer has quit IRC
[12:56:52] *** erithacus_ has quit IRC
[12:57:09] *** tarnus has joined #angularjs
[12:58:22] *** kp666 has quit IRC
[12:58:23] *** Codefria_ has quit IRC
[12:58:34] *** dylush_ has joined #angularjs
[12:59:08] *** fairuz has quit IRC
[12:59:08] *** dylush has quit IRC
[12:59:52] *** sbasso has quit IRC
[13:01:14] *** sbasso has joined #angularjs
[13:01:20] *** codezee has joined #angularjs
[13:01:33] *** tarnus has quit IRC
[13:02:00] *** Codefria_ has joined #angularjs
[13:02:29] *** p0k0 has quit IRC
[13:02:38] *** m8 has quit IRC
[13:02:43] *** aks has joined #angularjs
[13:02:47] *** whiteboo_ has joined #angularjs
[13:03:43] *** svycka has quit IRC
[13:04:35] *** whitebook has quit IRC
[13:05:01] *** kam270 has quit IRC
[13:05:39] *** sbasso has quit IRC
[13:06:14] *** fdf has joined #angularjs
[13:06:24] *** dan2k3k4 has joined #angularjs
[13:06:32] *** spriz is now known as spriz_away
[13:07:07] *** spriz_away is now known as spriz
[13:07:11] *** svycka has joined #angularjs
[13:07:30] <fdf> what's the diffirence between factory,privider and service?
[13:07:37] *** speeddragon has quit IRC
[13:08:13] *** speeddragon has joined #angularjs
[13:08:46] *** rickmak_ has quit IRC
[13:09:07] *** lite__ has joined #angularjs
[13:09:10] *** fdf has quit IRC
[13:09:49] *** tothandras_ has joined #angularjs
[13:10:13] *** lite_ has quit IRC
[13:10:39] *** gho5t has quit IRC
[13:11:06] *** Coldblackice has quit IRC
[13:11:22] *** Codefria_ has quit IRC
[13:13:11] *** fairuz has joined #angularjs
[13:13:39] *** PiotrekR has joined #angularjs
[13:13:51] *** thatslifeson has joined #angularjs
[13:14:26] *** erebel55 has quit IRC
[13:15:23] *** Codefria_ has joined #angularjs
[13:15:47] *** FingersCrossed has joined #angularjs
[13:16:10] *** Mortin has joined #angularjs
[13:16:34] <AlecTaylor> http://stackoverflow.com/questions/34178550/refer-to-service-in-run-immediately-after-definition
[13:17:04] *** AlecTaylor has quit IRC
[13:17:58] *** erithacus_ has joined #angularjs
[13:18:43] *** schneider has joined #angularjs
[13:18:54] *** lnrdo_ has quit IRC
[13:19:57] *** Codefria_ has quit IRC
[13:19:57] *** dylush_ has quit IRC
[13:20:22] *** dylush has joined #angularjs
[13:21:22] *** Codefria_ has joined #angularjs
[13:24:36] *** Blacky_ has quit IRC
[13:25:06] *** whiteboo_ has quit IRC
[13:25:59] *** jlebrech has quit IRC
[13:26:28] *** leolove has joined #angularjs
[13:27:28] *** Codefria_ has quit IRC
[13:28:07] *** dbclk_ has joined #angularjs
[13:28:14] <Mortin> Hello All,
[13:28:26] *** Mortin has quit IRC
[13:28:38] *** storresi has joined #angularjs
[13:28:46] *** kakashiAL has quit IRC
[13:29:52] <brollypop> hi, could someone help? I have a problem with $templateCache . I am adding a template with pagination directive, problem is that when I provide some parameters as attributes and set their values to scope variables, it seems like it doesnt see these variables.
[13:29:58] *** dbclk has quit IRC
[13:30:03] <brollypop> here is example code http://plnkr.co/edit/ReAxYwlxMd9XjXsRvHZ3?p=preview
[13:30:24] <brollypop> is there any specific way I should access scope variables in this case ?
[13:31:08] *** Codefria_ has joined #angularjs
[13:31:33] *** erebel55 has joined #angularjs
[13:33:23] *** sbasso has joined #angularjs
[13:34:27] *** lnrdo has joined #angularjs
[13:35:12] *** lite__ has quit IRC
[13:35:12] *** Codefria_ has quit IRC
[13:35:41] *** erol has quit IRC
[13:36:39] *** Danielyan has quit IRC
[13:36:46] *** jlebrech has joined #angularjs
[13:37:53] *** Codefria_ has joined #angularjs
[13:38:39] *** venkat_331 has joined #angularjs
[13:39:08] *** tangorri has quit IRC
[13:41:25] *** venkat_330 has quit IRC
[13:41:25] *** dylush has quit IRC
[13:41:26] *** venkat_331 is now known as venkat_330
[13:41:34] *** annlewis has joined #angularjs
[13:41:45] *** Codefria_ has quit IRC
[13:42:06] *** rossk has joined #angularjs
[13:42:07] *** dylush has joined #angularjs
[13:44:05] *** elperdut_ has joined #angularjs
[13:44:24] *** Codefria_ has joined #angularjs
[13:44:40] *** speeddragon has quit IRC
[13:44:45] *** Jordy__ has joined #angularjs
[13:44:55] *** dopesong has quit IRC
[13:45:11] *** kam270 has joined #angularjs
[13:45:48] *** skvedula has quit IRC
[13:46:06] *** annlewis has quit IRC
[13:46:43] *** Jordy__ has quit IRC
[13:47:04] *** rossk has quit IRC
[13:49:49] *** juro has joined #angularjs
[13:49:50] *** Codefria_ has quit IRC
[13:49:53] *** vader699 has quit IRC
[13:50:36] *** kaiserleo has joined #angularjs
[13:50:37] *** erms has quit IRC
[13:51:25] *** dopesong has joined #angularjs
[13:52:10] *** Codefria_ has joined #angularjs
[13:52:26] *** erol_ has joined #angularjs
[13:53:19] *** Danielyan has joined #angularjs
[13:54:06] *** Dmitri has quit IRC
[13:55:10] *** gabrielepecchiol has joined #angularjs
[13:55:59] *** Dmitri has joined #angularjs
[13:56:25] <kitcat711_> Bonjour! What am I doing wrong with my $timeout: run only once. please see details http://pastie.org/private/ytccu0m7ixujrjszzffouq
[13:56:27] *** codezee has quit IRC
[13:57:03] *** tiagoboldt has quit IRC
[13:57:16] *** GeekJon has joined #angularjs
[13:57:46] *** erithacus_ is now known as erithacus
[13:57:58] *** dopesong has quit IRC
[13:58:28] <six> if I'm using nested views and the top level (A) has a controller, my $scope should be the same for subpages (A.A, A.B etc.), right?
[13:58:39] *** moep has joined #angularjs
[13:58:43] *** odarboe has joined #angularjs
[13:59:51] *** odarboe has quit IRC
[14:00:28] *** tarnus has joined #angularjs
[14:02:38] *** ABhinav8101988 has quit IRC
[14:02:47] *** erithacus_ has joined #angularjs
[14:03:45] *** Codefria_ has quit IRC
[14:03:50] *** fairuz has quit IRC
[14:03:53] <six> what I'm trying to do is implement some navigation helpers in A (i.e. swipe left -> go from A.A to A.B, etc.)
[14:05:30] <icebox> kitcat711_: only once... correct... $timeout or $interval?
[14:05:39] *** vrockai has quit IRC
[14:05:50] *** dpicky has joined #angularjs
[14:05:52] *** jaka has joined #angularjs
[14:05:52] *** lmatteis has joined #angularjs
[14:05:57] <moep> <o
[14:06:04] <moep> yo
[14:06:15] *** jaka has quit IRC
[14:06:34] *** erithacus has quit IRC
[14:06:42] *** marthinal has quit IRC
[14:08:38] *** xuzhiping has joined #angularjs
[14:08:43] <kitcat711_> icebox: $timeout, but I call it and cancel it as many times as i call the main function
[14:08:50] *** dpicky_ has quit IRC
[14:09:35] *** lnrdo has quit IRC
[14:09:49] *** elperdut_ has quit IRC
[14:10:12] <icebox> kitcat711_: sure... it seems that logic doesn't work :) debug the code :)
[14:10:15] <jslootbeek> Good morning
[14:10:26] <xuzhiping> morining
[14:10:47] *** Magik6k has quit IRC
[14:11:06] *** Magik6k has joined #angularjs
[14:11:17] *** lnrdo has joined #angularjs
[14:11:19] *** nocigar has quit IRC
[14:11:30] *** marthinal has joined #angularjs
[14:11:33] *** Magik6k has joined #angularjs
[14:12:09] *** dopesong has joined #angularjs
[14:12:14] *** thatslifeson has quit IRC
[14:12:36] *** Magik6k has joined #angularjs
[14:13:06] *** Medo_ has quit IRC
[14:14:19] *** erms has joined #angularjs
[14:14:44] *** marthinal has quit IRC
[14:16:57] *** dopesong has quit IRC
[14:16:58] *** xuzhiping has quit IRC
[14:17:06] *** thiatt has quit IRC
[14:17:07] *** tplaner has joined #angularjs
[14:17:31] *** bcSquared- has quit IRC
[14:19:13] <kitcat711_> thanks icebox : that is helpfull :) - what more?
[14:19:37] <jslootbeek> i wrote up a SO question last night, hoping someone here has a chance to take a look and provide their thoughts: http://stackoverflow.com/questions/34169232/ui-bootstrap-adds-div-around-uib-tabset-directive-breaking-css
[14:19:41] *** owenjones has joined #angularjs
[14:20:08] *** tangorri has joined #angularjs
[14:20:14] *** juro has quit IRC
[14:20:57] <icebox> kitcat711_: put the breakpoints when the timer is set or deleted... however the point is a promise you think it is resolved when it is rejected
[14:21:19] *** fedenunez has joined #angularjs
[14:21:27] *** rj_ has joined #angularjs
[14:22:12] <rj_> hi, I am inserting html using ng-bind-html. but ng-click is not working there
[14:22:23] <icebox> kitcat711_: next time it would be better a plunker reproducing the problem
[14:22:45] *** rj_ has quit IRC
[14:23:13] <kitcat711_> ok icebox: working on it
[14:24:06] *** rho has joined #angularjs
[14:24:07] *** rho has joined #angularjs
[14:25:20] *** juro has joined #angularjs
[14:27:17] *** Rutix has quit IRC
[14:28:49] <s2hc_johan> Hi, I've got a scope/DI problem. I'm trying to use a service from another module but the injector doesn't know about it http://plnkr.co/edit/9CBMT5QBIkOKkrnsR5dD?p=preview
[14:29:35] <s2hc_johan> I'm new to angular so my debugging skills is limited. For me it looks similar to whats happening in the phonecat tutorial
[14:29:47] *** ulkesh has quit IRC
[14:30:08] *** Rutix has joined #angularjs
[14:30:08] *** Rutix has joined #angularjs
[14:30:22] *** ulkesh has joined #angularjs
[14:30:44] <kaiserleo> normally you have to tell your controller about your service
[14:31:29] *** davonrails_ has joined #angularjs
[14:32:33] *** davonrails has quit IRC
[14:33:03] <icebox> s2hc_johan: angular.module('myApp', [... my dep ...]); // creates a module with deps... angular.module("myApp"); // gets that module
[14:33:25] *** leolove has quit IRC
[14:34:09] <icebox> s2hc_johan: if the same module is created many times, there is something wrong... does it make sense?
[14:34:47] *** gabriele_ has joined #angularjs
[14:34:53] <s2hc_johan> icebox: ok, but I'm trying to get view1 to have access to "Backend", defined as a factory in myAppAPI
[14:34:58] *** macabre has joined #angularjs
[14:35:06] <icebox> s2hc_johan: where?
[14:35:52] <s2hc_johan> myAppAPI is defined in api.js and view1 is defined in view1.js
[14:36:06] *** italoacasas has joined #angularjs
[14:36:11] *** yky has joined #angularjs
[14:36:14] <icebox> s2hc_johan: I mean, where do you use BackendAPI?
[14:36:35] *** yky is now known as Guest56402
[14:36:36] *** dopesong has joined #angularjs
[14:36:46] <s2hc_johan> icebox: row 13 in view1.js
[14:37:06] *** whitebook has joined #angularjs
[14:37:11] *** vrockai has joined #angularjs
[14:37:26] *** kam270 has quit IRC
[14:37:45] *** gabrielepecchiol has quit IRC
[14:38:06] <icebox> s2hc_johan: I see... are you sure BackendAPI is a factory? it doesn't seem correct
[14:38:26] <icebox> s2hc_johan: return {};?
[14:38:27] *** CanyonMan has left #angularjs
[14:38:48] *** Garfield-fr has joined #angularjs
[14:39:17] *** hg has joined #angularjs
[14:39:29] *** macabre has quit IRC
[14:39:40] *** hg has quit IRC
[14:39:45] *** thirdknife has quit IRC
[14:39:48] <s2hc_johan> icebox: just a mocup
[14:39:59] <s2hc_johan> to see if it had anything to do with what I returned
[14:40:10] <icebox> s2hc_johan: I see
[14:40:34] *** Guest56402 has quit IRC
[14:40:43] *** thatslifeson has joined #angularjs
[14:40:53] <icebox> s2hc_johan: it is correct reducing your question to... how to use a service defined in another module?
[14:41:12] <s2hc_johan> icebox: exactly
[14:41:14] *** Foxandxss has joined #angularjs
[14:41:26] *** davonrails_ has quit IRC
[14:41:51] *** nodist has joined #angularjs
[14:42:20] <icebox> s2hc_johan: ok... the first example I found googling http://plnkr.co/edit/jcOwg8HgBGPtod4yCR5j?p=preview
[14:42:22] *** annlewis has joined #angularjs
[14:42:27] *** diosney has joined #angularjs
[14:42:50] *** rossk has joined #angularjs
[14:43:26] *** thelasti_ has quit IRC
[14:43:32] *** jieryn has joined #angularjs
[14:43:33] *** jieryn has joined #angularjs
[14:43:58] *** tbo_ has joined #angularjs
[14:44:44] *** BeerLover has joined #angularjs
[14:44:45] <s2hc_johan> yea so I think I've found similar things as well, looking at the phonecat tutorial https://github.com/angular/angular-phonecat/blob/master/app/js/services.js#L7, is used in another module https://github.com/angular/angular-phonecat/blob/master/app/js/controllers.js#L7
[14:45:03] <s2hc_johan> What I can't see is in what way my code is different and nonfunctional
[14:46:28] <icebox> s2hc_johan: :) removing the code helps :)
[14:46:28] *** dylush has quit IRC
[14:46:46] *** annlewis has quit IRC
[14:47:08] *** dylush has joined #angularjs
[14:47:22] *** whitebook has quit IRC
[14:47:43] *** rossk has quit IRC
[14:47:46] *** elton has joined #angularjs
[14:48:23] *** owenjones has quit IRC
[14:48:31] *** edrocks has joined #angularjs
[14:48:52] <icebox> s2hc_johan: for instance, $scope is not available in a factory :)
[14:49:11] <kitcat711_> icebox: What I found so far (on GG) is a workaround with setTimeout, for $interval seems not to be what I am looking for. Would u confirm that ?
[14:49:21] <s2hc_johan> icebox: yea, I think it's quite minimalistic already... But I'll try once more and do it in one file maybe and we'll se if anything changes. Thanks
[14:49:27] *** dopesong has quit IRC
[14:49:28] *** nocigar has joined #angularjs
[14:50:05] <icebox> s2hc_johan: nah... it is not minimalistic at all :) ... function($scope, Restangular){ -> function(Restangular){
[14:50:13] *** floriangosse has joined #angularjs
[14:50:57] <icebox> kitcat711_: agreed
[14:52:18] *** zeioth has joined #angularjs
[14:52:21] *** whitebook has joined #angularjs
[14:52:28] *** elton has quit IRC
[14:52:43] *** jedimind has quit IRC
[14:53:37] *** Dmitri has quit IRC
[14:53:42] *** whitebook has quit IRC
[14:54:11] *** AbuDhar has joined #angularjs
[14:54:14] <AbuDhar> hey
[14:54:25] *** Jardayn has joined #angularjs
[14:54:26] <AbuDhar> I want to use your framework but I am scared of the future.
[14:54:31] <AbuDhar> should I be?
[14:54:50] *** walden|afk is now known as walden
[14:55:00] *** kam270 has joined #angularjs
[14:55:40] *** Leon has quit IRC
[14:56:17] *** speeddragon has joined #angularjs
[14:56:23] *** fees has joined #angularjs
[14:56:41] *** bayousoft has joined #angularjs
[14:57:44] *** EdwardIII has joined #angularjs
[14:57:49] <EdwardIII> hey
[14:58:28] *** whitebook has joined #angularjs
[14:58:40] *** sbasso has quit IRC
[14:58:40] *** tiagoboldt has joined #angularjs
[14:58:45] *** sbasso_ has joined #angularjs
[14:59:02] *** dopesong has joined #angularjs
[14:59:22] *** ngbot has joined #angularjs
[14:59:22] <ngbot> [angular.js] petebacondarwin pushed 2 new commits to master: http://git.io/vRd1B
[14:59:22] <ngbot> angular.js/master 3112f8e Peter Bacon Darwin: docs(CHANGELOG): add 1.5.0-rc.0 changes
[14:59:23] <ngbot> angular.js/master 23c4ae5 Peter Bacon Darwin: chore(package.json): update version branch information
[14:59:23] *** ngbot has left #angularjs
[14:59:23] *** thatslifeson has quit IRC
[14:59:28] <EdwardIII> i just wanna do something simple. i want to include some templates, but the paths get calculated differently depending on the context (dev/prod etc)
[14:59:36] <EdwardIII> custom directive seems like overkill
[14:59:43] <EdwardIII> actually i guess i can just include a controller, that probably makes sense
[15:00:28] *** erithacus_ has quit IRC
[15:00:46] *** soee has quit IRC
[15:01:43] <icebox> EdwardIII: I suppose only base url changes between dev and prod
[15:01:47] *** krad has quit IRC
[15:02:01] *** bdn has joined #angularjs
[15:03:02] *** Dmitri has joined #angularjs
[15:04:26] *** whitebook has quit IRC
[15:04:47] *** Jardayn has quit IRC
[15:05:35] <AbuDhar> halloo
[15:05:39] <AbuDhar> can I use angular 2 now?
[15:06:14] *** cotko has quit IRC
[15:06:42] *** gabriele_ has quit IRC
[15:06:43] *** cotko has joined #angularjs
[15:06:44] *** step1step2 has quit IRC
[15:07:01] *** bayousoft has quit IRC
[15:07:22] *** step1step2 has joined #angularjs
[15:07:54] *** tbo_ has quit IRC
[15:07:54] *** dylush has quit IRC
[15:08:04] *** ngbot has joined #angularjs
[15:08:04] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/vRd9J
[15:08:04] <ngbot> angular.js/master ca6e266 Peter Bacon Darwin: docs(CHANGELOG): fix typo
[15:08:04] *** ngbot has left #angularjs
[15:08:18] <icebox> AbuDhar: http://angularjs.blogspot.it/2015/11/highlights-from-angularconnect-2015.html
[15:08:42] *** VeeWee has quit IRC
[15:08:43] *** dylush has joined #angularjs
[15:09:15] <bdn> Hello, I have a link on a page which the url gets "push stated" by angular in the browser bar. However $rootScope.$on('$locationChangeSuccess') doesn't fire. I would expect it to fire.
[15:09:28] <AbuDhar> icebox: so I can basically start with angular 1.7 now and then use the ngUpgrade stuff to upgrade to angular 2?
[15:10:15] *** dopesong has quit IRC
[15:10:16] <icebox> AbuDhar: 1.7 doesn't exist... 1.4.8 or 1.5-beta :) ... that would be the recommended path
[15:10:32] <AbuDhar> yeah lol.. it was just an example.
[15:10:44] *** rocky1138 has joined #angularjs
[15:11:02] <AbuDhar> but that's good to hear!
[15:11:29] <bdn> Hello, I have a link on a page which the url gets "push stated" by angular when user clicks the link in the browser bar - uses hmtl5mode. However $rootScope.$on('$locationChangeSuccess') event doesn't fire. I would expect it to fire. I don't use any routers yet. Am I doing something wrong?
[15:12:11] <sweeper> hey folks. just fyi, my company is looking for 2-3 remote devs with a couple years of angular experience on medium to large apps, cordova exp is a plus, /msg me for deets
[15:13:46] *** GeekJon has quit IRC
[15:14:09] *** cocao has joined #angularjs
[15:14:15] *** Paul_B_Hartzog has joined #angularjs
[15:14:28] *** dbclk_ has quit IRC
[15:15:54] *** VaticanCameos has quit IRC
[15:15:58] *** whitebook has joined #angularjs
[15:17:07] *** whitebook has quit IRC
[15:17:45] *** morissette has joined #angularjs
[15:19:01] *** whitebook has joined #angularjs
[15:19:11] *** leolrrj has quit IRC
[15:19:25] *** whitebook has quit IRC
[15:19:25] *** leolrrj has joined #angularjs
[15:20:05] *** ararog has joined #angularjs
[15:20:12] <icebox> bdn: where do you register the listener? (and providing a plunker would be better)
[15:20:23] *** davonrails has joined #angularjs
[15:20:25] *** Jardayn has joined #angularjs
[15:20:37] <s2hc_johan> icebox: same thing when I try to reuse the phonecat code in one file only http://plnkr.co/edit/hisZyoqvHsl4Ru8X8k2T?p=preview
[15:20:56] <s2hc_johan> so I'm missing something in the logic that I just don't see
[15:21:03] <icebox> s2hc_johan: I suggested the solution 30 minutes ago :)
[15:21:15] *** bdn has quit IRC
[15:21:26] *** denisra_ is now known as denisra
[15:21:28] <icebox> s2hc_johan: function($scope, Restangular){ -> function(Restangular){ // and you see the alert I'm here
[15:22:31] <s2hc_johan> icebox: sorry missed that
[15:23:10] <s2hc_johan> icebox: Thank you!
[15:23:23] <icebox> s2hc_johan: you are welcome
[15:23:27] <guilbep> There is a problem on the doc
[15:23:40] *** whitebook has joined #angularjs
[15:23:45] <guilbep> https://docs.angularjs.org/guide
[15:23:47] <guilbep> ... :/
[15:24:04] <guilbep> #fail
[15:24:21] *** jonasliljestrand has joined #angularjs
[15:24:57] <dan2k3k4> gah can't think right now - if I have: var myApp = angular.module('SomeApp', ['someStuff']); then myApp.someModule = angular.module('someModule', ['someDep']); - then later on, how can I add another "module" to the app? o_0
[15:26:02] *** u0m3 has joined #angularjs
[15:26:02] *** uNki has quit IRC
[15:26:35] *** uNki has joined #angularjs
[15:27:02] *** whitebook has quit IRC
[15:28:43] <dan2k3k4> ng-app="myApp" -> ng-controller="someController" -> then have <script> angular.module('newmodule', ['myApp', 'ngImgCrop']).controller('newCtrl') </script> ng-controller="newCtrl" </end ngCtrl> </end someController> </end myApp>
[15:28:45] *** mary5030 has joined #angularjs
[15:28:56] *** FingersCrossed has quit IRC
[15:29:02] <dan2k3k4> but complains that it doesn't know what newCtrl is :o
[15:29:46] *** Leon has joined #angularjs
[15:29:46] *** dylush has quit IRC
[15:30:20] *** dylush has joined #angularjs
[15:30:50] *** smccarthy has joined #angularjs
[15:30:53] *** lnrdo has quit IRC
[15:31:04] *** pf has joined #angularjs
[15:31:45] <pf> Hi there, do you have a pb with this url too ? https://docs.angularjs.org/tutorial
[15:31:50] <guilbep> pf yes!
[15:31:55] *** fscala has quit IRC
[15:32:15] <pf> is it going to be re-up soon ?
[15:32:35] <guilbep> pf I wish I knew..
[15:32:42] *** mary5030 has quit IRC
[15:32:53] *** ahaeger has joined #angularjs
[15:33:13] *** fscala has joined #angularjs
[15:33:23] *** amortimer1 has joined #angularjs
[15:33:26] <pf> are admins aware of this ? How can I alert them ?
[15:33:30] *** encryptd_fractal has joined #angularjs
[15:33:43] *** d-fens_ has joined #angularjs
[15:33:46] *** amortimer has quit IRC
[15:33:49] <guilbep> pf I don't know Peter Bacon Darwin looks like the guy that made the last changes
[15:34:36] <pf> how did you get this info ?
[15:34:56] <pf> how can I reach him ?
[15:35:09] *** devPaul has joined #angularjs
[15:35:10] *** bayousoft has joined #angularjs
[15:35:13] <dan2k3k4> ok didn't realise I could just do MyApp.someModule.controller()
[15:35:18] *** ngbot has joined #angularjs
[15:35:18] <ngbot> [angular.js] chimney-sweeper tagged v1.5.0-rc.0 at 164a1cd: http://git.io/vRdjF
[15:35:18] *** ngbot has left #angularjs
[15:35:23] <dan2k3k4> but how do I add the extra dependencies -_-
[15:35:52] *** nodist has quit IRC
[15:35:54] *** zigzagzig has joined #angularjs
[15:35:57] *** Dmitri has quit IRC
[15:36:55] <guilbep> pf I added an issue. kinda
[15:36:55] *** yky has joined #angularjs
[15:36:56] <guilbep> https://github.com/angular/angular.js/issues/13474
[15:37:14] <dan2k3k4> e.g. MyApp.someModule = angular.module('someModule', ['filters', 'debounce', 'ngRoute']) etc.
[15:37:14] *** kam270 has quit IRC
[15:37:20] *** yky is now known as Guest75184
[15:37:21] <guilbep> pf I looked at the last commit ;)
[15:37:29] <dan2k3k4> then later on to do: MyApp.someModule.dependencies?
[15:37:37] *** wyu has joined #angularjs
[15:37:48] *** Daerist has quit IRC
[15:38:03] *** aghiuru has joined #angularjs
[15:38:10] *** dman777_alter has joined #angularjs
[15:38:18] <dan2k3k4> .requires.push ?
[15:38:26] *** marthinal has joined #angularjs
[15:39:30] *** davonrails has quit IRC
[15:39:47] <AbuDhar> eeeh guys
[15:39:50] <AbuDhar> https://docs.angularjs.org/tutorial
[15:39:53] <AbuDhar> what the heck?
[15:39:59] <AbuDhar> you see the same as me or?
[15:40:27] *** TyrfingMjolnir has joined #angularjs
[15:41:40] <pf> guilbep thanks
[15:42:01] *** dpicky_ has joined #angularjs
[15:42:13] <pf> AbuDhar yes, I just reported as you did
[15:42:45] <AbuDhar> oh you reported it. nice
[15:42:58] *** Guest75184 has quit IRC
[15:43:03] <guilbep> They must all be asleep on the west coast at this hour
[15:43:04] *** annlewis has joined #angularjs
[15:43:20] <AbuDhar> can't see the tutorial until that is fixed :P
[15:43:24] <AbuDhar> :/
[15:43:37] *** rossk has joined #angularjs
[15:44:29] *** kaspar_ has quit IRC
[15:44:40] *** walden is now known as walden|brb
[15:45:03] <AbuDhar> patience is a virtue
[15:45:30] *** dpicky has quit IRC
[15:45:43] *** Daerist has joined #angularjs
[15:46:10] *** Elion has joined #angularjs
[15:46:10] *** dandaman has joined #angularjs
[15:46:42] *** pernacentus has joined #angularjs
[15:47:11] <Elion> Hi, i plan to use ui-routeur with named view, is there a way to have a default view template for one of the named view and only override it in some states ?
[15:47:35] <Elion> Or should i reference the template for all states.... ?
[15:47:36] <icebox> Elion: it is called abstract view
[15:47:42] *** sbasso_ has quit IRC
[15:48:00] *** annlewis has quit IRC
[15:48:12] *** sbasso has joined #angularjs
[15:48:17] *** iptunneler has joined #angularjs
[15:48:23] *** rossk has quit IRC
[15:48:40] *** elton has joined #angularjs
[15:49:05] *** pf has quit IRC
[15:49:07] *** iceball has joined #angularjs
[15:49:07] <pernacentus> Hi all, I cannot access https://docs.angularjs.org/, is there any problem with it?
[15:49:33] *** whitebook has joined #angularjs
[15:49:53] *** speeddragon has quit IRC
[15:49:58] *** xylen has joined #angularjs
[15:50:12] *** iceball has quit IRC
[15:50:14] *** xylen is now known as xylen_
[15:50:17] <icebox> Elion: https://github.com/angular-ui/ui-router/wiki/Multiple-Named-Views
[15:50:38] *** speeddragon has joined #angularjs
[15:50:40] <jslootbeek> pernacentus, looks like some of the external resources from ajax.googleapis.com can't be loaded.
[15:51:28] *** fiveladdercon has joined #angularjs
[15:51:29] *** dylush has quit IRC
[15:51:45] *** realz_ has quit IRC
[15:51:45] *** realz_ has joined #angularjs
[15:51:47] *** realz_ is now known as realz
[15:52:05] *** dylush has joined #angularjs
[15:52:14] *** KnightsOfNi has quit IRC
[15:52:27] *** FFKangoroo has joined #angularjs
[15:52:45] *** ll_ has joined #angularjs
[15:52:48] *** junmin has joined #angularjs
[15:52:48] *** xdsemx has joined #angularjs
[15:52:51] <icebox> Elion: and this one https://github.com/angular-ui/ui-router/wiki/Nested-States-and-Nested-Views#abstract-states
[15:53:09] *** elton has quit IRC
[15:53:13] *** shinnya has joined #angularjs
[15:53:14] *** kaspar_ has joined #angularjs
[15:53:14] <xdsemx> hey guys. Docs page is down
[15:53:19] *** mankoe has quit IRC
[15:53:23] <xdsemx> docs.angularjs.org
[15:53:36] <pernacentus> jslootbeek, thanks for the answer. I will try to access it later, hoping that the problem will be fixed
[15:53:56] *** kevin has joined #angularjs
[15:54:00] <kevin> hi
[15:54:15] <jslootbeek> xdsemx, looks like external resources are getting 404s from googleapis.com
[15:54:17] <kevin> why is the API guide offline?
[15:54:20] *** kevin is now known as Guest80596
[15:54:40] *** Dmitri has joined #angularjs
[15:54:43] <jslootbeek> I'm surprised. We're all web developers here, and nobody looks at the JS console?
[15:54:44] <Guest80596> why is the API guide offline?
[15:54:52] <Guest80596> i did
[15:54:52] <xdsemx> jslootbeek, looks like mistake in angularjs version
[15:54:58] *** aks has quit IRC
[15:55:18] <Guest80596> The urls don't exists because the version it gives back is null
[15:55:38] *** Aces_Charles has quit IRC
[15:55:56] *** davlefou has quit IRC
[15:56:21] *** uNki has quit IRC
[15:56:55] *** uNki has joined #angularjs
[15:57:09] *** robu has joined #angularjs
[15:57:18] *** rchavik_ has quit IRC
[15:57:18] *** vrockai has quit IRC
[15:57:43] *** davlefou has joined #angularjs
[15:57:44] *** aks has joined #angularjs
[15:58:06] *** Toolham has joined #angularjs
[15:58:07] *** Danielyan has quit IRC
[15:58:08] *** aks has quit IRC
[15:58:17] *** aks has joined #angularjs
[15:58:34] <Elion> icebox: thanks, i'll look into it
[15:58:41] <robu> is the docs site down for anyone else?: https://docs.angularjs.org/
[15:58:57] <guilbep> lolilol
[15:58:58] <Toolham> Yes
[15:59:09] <robu> cool, not just me then :)
[15:59:30] <guilbep> robu an issue already exist
[15:59:33] *** Garfield-fr has quit IRC
[15:59:54] *** ll_ has quit IRC
[16:00:03] *** Toolham has quit IRC
[16:00:11] <robu> thanks
[16:00:13] *** arthurspa has joined #angularjs
[16:00:20] <arthurspa> guys
[16:00:20] *** dylush has quit IRC
[16:00:49] <arthurspa> Is the angularjs documentation website working is is it broken just to me?
[16:00:52] <arthurspa> https://docs.angularjs.org/guide
[16:01:00] *** Ldip has joined #angularjs
[16:01:09] <arthurspa> or* is it broken just to me?
[16:01:11] *** dylush has joined #angularjs
[16:01:13] <icebox> upcoming 1.5.0-rc.0 :)
[16:01:16] *** Guest80596 has quit IRC
[16:01:26] *** ngbot has joined #angularjs
[16:01:26] <ngbot> [angular.js] petebacondarwin pushed 1 new commit to master: http://git.io/vRF3R
[16:01:27] <ngbot> angular.js/master 1b06f33 Peter Bacon Darwin: chore(package): ensure branch version is good to fix docs
[16:01:27] *** ngbot has left #angularjs
[16:01:42] <Ldip> For you Angular devs that work in teams but aren't designers, what's the best way to work when the designer will have a certain paradigm that goes against Angular?
[16:01:51] *** Da_ has joined #angularjs
[16:01:58] *** mven has quit IRC
[16:02:10] *** rscata has quit IRC
[16:02:10] *** dylush has quit IRC
[16:02:14] <kschlesselmann> Ldip: For example?
[16:02:16] <icebox> shooting the designer? :)
[16:02:20] <arthurspa> Is the angularjs website working for you? https://docs.angularjs.org/guide
[16:02:22] *** thelastinuit has joined #angularjs
[16:02:28] <Ldip> I'm struggling right now with a lot of 'how do I add a class to the body tag in Angular?' to which I ask 'why?' and then the answer is 'because I need to hide the header if...'
[16:02:49] <Da_> The docs page seems to be broken indeed
[16:02:52] <kschlesselmann> tell him about ng-hide?
[16:02:53] <icebox> design is not implementation
[16:02:55] <Ldip> I did.
[16:03:04] *** macabre has joined #angularjs
[16:03:05] <Ldip> But his thinking is, it should be in the CSS.
[16:03:25] <kschlesselmann> but the class has to be added with logic sometime?
[16:03:29] <Ldip> So if he's designing, he can't get very far before there's a 'I'll just use jQuery' moment.
[16:03:43] <Ldip> It does, but he doesn't really need a class on the body, he just needs to hide the header.
[16:03:59] <kschlesselmann> Ldip: Just use a conditional ng-class on the body tag then? :D
[16:04:08] <Ldip> Yeah I know the answer.
[16:04:20] <Ldip> I'm saying when you've using Angular, you don't need that.
[16:04:25] *** speeddragon has quit IRC
[16:04:29] <kschlesselmann> then you can toggle the css class from your controller
[16:04:51] *** kk_drop has quit IRC
[16:05:00] <Ldip> One little thing, no big deal, but entire views that are controlled by if the css is nested under a .header-gone tag seems to go against what Angular is really good at.
[16:05:21] <kschlesselmann> yep
[16:06:12] <Ldip> So if the designer thinks in that way, but you're working together, how do you start to make faster progess so that every two seconds it's not 'should I just use jQuery and CSS or should I learn how to do this in the framework you like?'
[16:06:24] *** arthurspa has quit IRC
[16:06:27] <Ldip> Could he somehow just do the pure design and then I come in and add the angular later?
[16:06:40] *** angularjs531 has joined #angularjs
[16:06:41] *** robu has quit IRC
[16:06:47] *** sbasso has quit IRC
[16:06:47] <icebox> yep
[16:06:57] <angularjs531> Hey, are you able to acces angularjs docs?
[16:07:03] <icebox> no
[16:07:05] <kschlesselmann> Ldip: why not, let him do his stuff and you just insert ng-show/hide later
[16:07:12] *** dopesong has joined #angularjs
[16:07:21] <angularjs531> Can anyone answer me, please?
[16:07:27] <kschlesselmann> angularjs531: no
[16:07:33] <angularjs531> Ok, thanks!!!
[16:07:37] <Ldip> So he'd just design with everything visible and then let me know what the dom should do when?
[16:07:40] <angularjs531> Thought it was just with me.
[16:07:54] *** Da_ has quit IRC
[16:08:07] *** sbasso has joined #angularjs
[16:08:15] *** xdsemx has quit IRC
[16:09:09] *** fiveladdercon has quit IRC
[16:09:33] *** brollypop has quit IRC
[16:10:09] *** d-fens_ has quit IRC
[16:10:13] *** PiotrekR has quit IRC
[16:10:14] *** speeddragon has joined #angularjs
[16:10:21] *** sbasso has quit IRC
[16:10:37] *** sbasso has joined #angularjs
[16:11:08] *** mary5030 has joined #angularjs
[16:11:33] *** jenelizabeth_ has joined #angularjs
[16:11:51] *** juro has quit IRC
[16:11:55] *** angularjs531 has quit IRC
[16:12:22] *** mven has joined #angularjs
[16:12:33] *** thelastinuit has quit IRC
[16:12:39] *** dopesong has quit IRC
[16:12:51] *** sbasso has quit IRC
[16:12:56] *** speeddragon has quit IRC
[16:13:14] <tangorri> doc website fails to load ...
[16:13:35] <tangorri> https://docs.angularjs.org/api no angular loaded ... ???
[16:13:54] *** digisky has quit IRC
[16:14:28] *** swordfish has joined #angularjs
[16:14:43] *** Es0teric has joined #angularjs
[16:14:56] *** digisky has joined #angularjs
[16:14:59] *** walden|brb is now known as walden
[16:15:21] *** annlewis has joined #angularjs
[16:16:54] *** beakman has joined #angularjs
[16:17:21] *** dcherman has joined #angularjs
[16:17:34] *** davlefou_ has joined #angularjs
[16:18:18] *** speeddragon has joined #angularjs
[16:18:19] *** davlefou_ has quit IRC
[16:18:19] *** speeddragon has quit IRC
[16:18:27] *** davlefou_ has joined #angularjs
[16:18:40] *** davlefou_ has quit IRC
[16:19:31] *** sbasso has joined #angularjs
[16:19:55] *** beakman has quit IRC
[16:20:18] *** annlewis has quit IRC
[16:20:18] *** davlefou has quit IRC
[16:21:26] *** erebel55 has quit IRC
[16:21:41] *** zz_dimtruck is now known as dimtruck
[16:22:04] *** iptunneler has left #angularjs
[16:22:15] *** andricDu has joined #angularjs
[16:22:38] *** bayousoft has quit IRC
[16:23:06] *** zeezey has joined #angularjs
[16:23:28] *** nimomo has joined #angularjs
[16:23:37] *** wrainbolt has joined #angularjs
[16:24:08] *** devPaul has quit IRC
[16:24:08] <nimomo> hi, I want to combine pophovers tour in my Angular application. Anyone knows a ready project for this? any recommendation?
[16:24:20] *** pernacentus has quit IRC
[16:25:26] <kegster> what would be the best way to maintain a logged in "session" (not necessarily a php session, etc) when using angular?
[16:25:34] *** salimfadhley has quit IRC
[16:25:51] *** Bubo has joined #angularjs
[16:28:40] *** leolrrj has quit IRC
[16:28:44] *** leolrrj-alt has joined #angularjs
[16:28:56] *** sbasso has quit IRC
[16:29:58] *** Firo has quit IRC
[16:31:28] *** speeddragon has joined #angularjs
[16:32:00] *** cacts has joined #angularjs
[16:32:49] <rocky1138> In my routes I use a resolve. The resolve result should be passed to my controller, right? When I set a breakpoint in the controller, it comes up as undefined :(
[16:32:51] *** plekplek has quit IRC
[16:34:26] *** lnrdo has joined #angularjs
[16:34:27] *** george_v has quit IRC
[16:35:20] <kegster> what's the best file structure for angular? i've found a couple differing opinions and wasn't sure if there was a standard.
[16:35:31] *** george_v has joined #angularjs
[16:36:46] *** whitebook has quit IRC
[16:36:55] *** guilbep has quit IRC
[16:37:01] <tritian> I'm using UI-Router and when I go to a route it fills in a couple named views. I want one of those views to render only if it doesn't exist yet?
[16:37:11] *** guilbep has joined #angularjs
[16:38:18] *** sbasso has joined #angularjs
[16:38:29] <nimomo> hi, what would you use for a product tour?
[16:38:34] *** plekplek has joined #angularjs
[16:38:52] <nimomo> I found this but it's not Angularjs - http://bootstraptour.com/
[16:38:56] *** plekplek has quit IRC
[16:39:35] *** yky has joined #angularjs
[16:39:36] *** diegoaguilar has joined #angularjs
[16:39:42] *** george_v has quit IRC
[16:39:52] *** dandaman has quit IRC
[16:39:59] *** yky is now known as Guest81731
[16:40:06] *** dandaman has joined #angularjs
[16:40:15] *** Sharaal1 has joined #angularjs
[16:40:34] *** sbasso has quit IRC
[16:41:14] *** Sharaal has quit IRC
[16:42:16] *** leolove has joined #angularjs
[16:42:35] *** Bloomer has joined #angularjs
[16:43:51] *** Guest81731 has quit IRC
[16:44:13] *** sbasso has joined #angularjs
[16:44:22] *** rossk has joined #angularjs
[16:44:54] *** chris_overseas has joined #angularjs
[16:45:16] *** fedenunez has quit IRC
[16:45:44] *** kakashiAL has joined #angularjs
[16:46:23] <EdwardIII> how do you guys handle like a global feedback mechanism? so you can show feedback messages at the top of your ng-app?
[16:46:28] *** sbasso has quit IRC
[16:46:43] *** fedenunez has joined #angularjs
[16:46:47] <bd-> toastr
[16:46:54] <kegster> anyone know where to get angular datatables plugins like angular-datatables.columnfilter.min.js? i only can find the datatables plugins themselves, not the angular
[16:48:36] <EdwardIII> toastr looks good, thanks bd-
[16:48:37] *** whitebook has joined #angularjs
[16:48:46] *** rossk has quit IRC
[16:48:46] *** juro has joined #angularjs
[16:49:30] *** jonasliljestrand has quit IRC
[16:49:43] *** icfantv has joined #angularjs
[16:50:21] *** illume has quit IRC
[16:50:35] *** bluezone_ has joined #angularjs
[16:51:04] <EdwardIII> and it's by our very own Foxandxss
[16:51:15] <AbuDhar> tangorri: it is fixed
[16:51:23] <Foxandxss> yeah, toasts are nice
[16:53:16] *** nya_ has quit IRC
[16:53:34] *** nya_ has joined #angularjs
[16:53:56] *** nimomo has quit IRC
[16:54:53] <kegster> I just don't see where to download the datatables plugins for angular. It says you must include "angular-datatables.columnfilter.min.js", but i don't see that file anywhere. I just seethe datatables columnfilter, but not the angular one. any ideas?
[16:55:08] *** icebox has quit IRC
[16:55:33] <EdwardIII> am i being dumb? bower doesn't save anything to bower.json when i say "bower install toastr"
[16:56:07] *** dutis has quit IRC
[16:56:11] *** mary5030 has quit IRC
[16:56:16] *** codeitloadit has joined #angularjs
[16:56:58] <torbjorn> think you're being dumb, shouldnt that just save it under bower_components/ ?
[16:57:13] <Foxandxss> EdwardIII: don't use bower and if still you want to. it is "angular-toastr"
[16:57:17] <kegster> xnvm found it. twas I being dumb :P
[16:57:17] <Foxandxss> not just toastr
[16:57:35] <Foxandxss> (toastr is another one with jquery)
[16:57:51] *** dopesong has joined #angularjs
[16:58:39] *** Debnet has quit IRC
[16:58:56] *** Sharaal has joined #angularjs
[16:59:00] *** whitebook has quit IRC
[16:59:03] *** zlalanne has joined #angularjs
[16:59:09] *** deeb has joined #angularjs
[16:59:35] *** CanyonMan has joined #angularjs
[16:59:44] *** speeddragon has quit IRC
[16:59:45] <EdwardIII> Foxandxss: ah ok thanks
[16:59:47] *** sbasso has joined #angularjs
[16:59:52] <EdwardIII> Foxandxss: what would you use? npm + browserify?
[17:00:14] *** mosulica has quit IRC
[17:00:19] *** speeddragon has joined #angularjs
[17:00:37] *** bayousoft has joined #angularjs
[17:02:02] *** george_v has joined #angularjs
[17:02:03] *** Sharaal1 has quit IRC
[17:02:19] *** Leon has quit IRC
[17:02:26] *** dopesong has quit IRC
[17:03:33] *** rossk has joined #angularjs
[17:04:01] *** kk_drop has joined #angularjs
[17:04:53] *** Codefria_ has joined #angularjs
[17:05:09] *** dopesong has joined #angularjs
[17:05:33] *** whitebook has joined #angularjs
[17:05:44] *** iraj has joined #angularjs
[17:06:29] *** devPaul has joined #angularjs
[17:07:20] *** kakashiAL has quit IRC
[17:07:46] *** george_v has quit IRC
[17:08:18] *** codeitloadit has quit IRC
[17:08:35] *** sbasso has quit IRC
[17:08:52] *** iraycohen has joined #angularjs
[17:09:23] *** tiagoboldt has quit IRC
[17:10:44] *** cacts has quit IRC
[17:12:22] *** dandaman has quit IRC
[17:12:58] *** CAPITANOOO has joined #angularjs
[17:13:51] <kegster> OK so has anyone used datatables with angular? can't get the plugins to work
[17:13:56] <kegster> i got rid of all errors lol
[17:14:28] *** iraycohen has quit IRC
[17:15:42] *** okdamn has joined #angularjs
[17:15:43] *** Codefria_ has quit IRC
[17:15:54] *** iraj has quit IRC
[17:15:54] *** iraj has joined #angularjs
[17:16:09] *** annlewis has joined #angularjs
[17:16:14] *** dimtruck is now known as zz_dimtruck
[17:16:16] *** erol_ has quit IRC
[17:16:21] *** dopesong has quit IRC
[17:16:23] <okdamn> Hi, can i check if a given string is a date string that match $filter('date')('MM-Y'); for example?
[17:16:23] <kitcat711_> kegster: I had the same a few days ago and then went to ui-grid
[17:16:30] *** mynameiswhat has quit IRC
[17:16:36] <okdamn> how can i match string with date format?
[17:16:41] *** Codefria_ has joined #angularjs
[17:16:53] <kegster> okdamn, well that sucks-- not the news i wanted to hear lol
[17:17:12] <okdamn> kegster: wot? why?
[17:17:15] <okdamn> :D
[17:17:19] *** Sky[x] has quit IRC
[17:17:24] <okdamn> im asking
[17:17:26] *** mary5030 has joined #angularjs
[17:17:27] <kegster> i just spent a lot of time figuring out datatables
[17:17:28] <kegster> haha
[17:17:38] <kegster> if it works, it works.
[17:17:42] <okdamn> datatables lol ?
[17:18:07] *** iraj has quit IRC
[17:18:16] *** itamarjp has joined #angularjs
[17:18:16] *** itamarjp has joined #angularjs
[17:18:32] *** iraj has joined #angularjs
[17:19:01] <kegster> yeah
[17:19:02] <kegster> oh wait
[17:19:05] *** asteele has joined #angularjs
[17:19:08] <kegster> kitcat711_, i meant to send those to you :)
[17:19:12] <kegster> bahaha
[17:19:54] <okdamn> lol
[17:20:15] *** tiagoboldt has joined #angularjs
[17:20:23] *** sbasso has joined #angularjs
[17:20:28] <kegster> kitcat711_, i'm assuming it can feed json data, etc?
[17:20:30] <kitcat711_> kegster: :) sorry to tell u that, I guess many others can make datables working :D
[17:20:46] *** annlewis has quit IRC
[17:20:48] <kitcat711_> kegster: yes
[17:21:33] <kegster> kitcat711_, yeah i finally got rid of the errors to just have no features! lol
[17:21:44] <kegster> is ui-grid simple to setup?
[17:21:53] <kegster> i guess i better start looking haha
[17:21:57] <AbuDhar> Error: [$injector:modulerr] http://errors.angularjs.org/1.4.8/$injector/modulerr?p0=reminderApp&p1=%5B%..........
[17:21:59] <AbuDhar> what's wrong? :D
[17:22:06] *** Ir1sh has joined #angularjs
[17:22:20] *** Codefria_ has quit IRC
[17:22:47] *** speeddragon has quit IRC
[17:23:00] <kitcat711_> kegster: well it has taken me 2 days to end it up with my table
[17:23:06] *** kaspar_ has quit IRC
[17:23:34] *** jhirley has joined #angularjs
[17:23:58] *** thirdknife has joined #angularjs
[17:24:10] *** uNki has quit IRC
[17:24:18] *** shinnya has quit IRC
[17:24:32] <AbuDhar> never mind
[17:24:34] <AbuDhar> it was a typo
[17:24:45] *** Codefria_ has joined #angularjs
[17:25:36] *** xtreamwayz has joined #angularjs
[17:25:45] *** zz_dimtruck is now known as dimtruck
[17:26:10] *** fedenunez has quit IRC
[17:26:21] *** fedenunez has joined #angularjs
[17:26:31] <EdwardIII> Foxandxss: am i going nuts? is there no way to show you how to splurge your toastr messages out? https://github.com/Foxandxss/angular-toastr
[17:27:16] <kitcat711_> asking for advice: got a view with 5 tabs, 3 of them got tables. tables are about 80% the same from coding view point. the "tabs" are directives. What is the best: having 3x directives with their (almost) similar controllers or working on something to DRY the code ? for the second solution how would you handle that?
[17:28:33] *** dandaman has joined #angularjs
[17:28:41] <kegster> heh
[17:28:42] <kegster> damn
[17:29:26] *** Codefria_ has quit IRC
[17:29:35] <EdwardIII> normally in KO i'd just have a postbox, then have a subscriber that listens for events and squirts them out on the page
[17:29:41] *** elyphas has joined #angularjs
[17:29:51] *** wrainbolt has quit IRC
[17:29:54] *** nocigar has quit IRC
[17:30:16] *** juro has quit IRC
[17:30:26] *** swordfish has quit IRC
[17:30:30] *** tiagoboldt has quit IRC
[17:30:54] *** wearska has joined #angularjs
[17:31:14] <elyphas> Hi, is there a way to handle list comprehension with ng-for, because I can't use ng-for together with ng-if?
[17:31:15] <EdwardIII> ah ok you don't hook it in, it 'just works'
[17:31:16] <EdwardIII> magicks
[17:31:18] *** dan2k3k4 has quit IRC
[17:31:32] *** Z3R0 has joined #angularjs
[17:31:55] *** wearska has quit IRC
[17:32:24] *** wrainbolt has joined #angularjs
[17:33:20] *** Z3R0 has quit IRC
[17:33:58] *** jmitchell has joined #angularjs
[17:33:58] *** dimtruck is now known as zz_dimtruck
[17:35:06] *** chairmanmow has joined #angularjs
[17:35:36] <kitcat711_> kegster: why "damn"?
[17:35:36] *** tiagoboldt has joined #angularjs
[17:35:58] <jmitchell> I was wondering if anyone has any recommendations for third-party form generator projects I should check out? We're doing a big rewrite of our crud stuff, and trying to figure out some good alternatives to the crufty, custom form generator we have right now
[17:36:20] *** svycka has quit IRC
[17:36:26] *** bbarke has joined #angularjs
[17:36:35] *** tangorri has quit IRC
[17:36:36] <kegster> kitcat711_, it just sucks. the dang example on the angularjs datatables site is bogus lol
[17:36:44] <kegster> and eveyrone online is stumped somehow
[17:36:52] *** bayousoft has quit IRC
[17:38:47] *** busticated has quit IRC
[17:40:03] *** Flashwit has joined #angularjs
[17:40:15] *** dandaman has quit IRC
[17:40:31] *** yky has joined #angularjs
[17:40:37] *** guilbep has quit IRC
[17:40:56] *** yky is now known as Guest19633
[17:41:06] *** dandaman has joined #angularjs
[17:42:10] <EdwardIII> Foxandxss: what would you think about hooking into an existing element with the given id rather than creating a new one when it already exists? is there a reason why it doesn't do that?
[17:42:19] <EdwardIII> i like it but i want to hook into my existing #ng-app
[17:42:35] <EdwardIII> so the notifications load inside the visual website 'app' bit
[17:43:00] <okdamn> Guys which the best way to check if string match item in array?
[17:43:08] <okdamn> isInArray how ?
[17:43:32] <EdwardIII> okdamn: mdn Array.prototype.indexOf()
[17:43:49] <EdwardIII> okdamn: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf but be aware of compatibility
[17:43:56] <okdamn> EdwardIII: can i pass an array to indexOf([]) ??
[17:44:11] <EdwardIII> okdamn: believe so, as long as you want to match an array inside the array
[17:44:11] <okdamn> ah oh well awesome
[17:44:39] *** sbasso has quit IRC
[17:45:01] *** codeitloadit has joined #angularjs
[17:45:12] *** Dmitri has quit IRC
[17:45:12] *** Guest19633 has quit IRC
[17:45:23] *** guilbep has joined #angularjs
[17:45:44] *** busticated has joined #angularjs
[17:46:02] *** phrozensilver has joined #angularjs
[17:46:55] *** wrainbolt has quit IRC
[17:47:02] *** kakashiAL has joined #angularjs
[17:47:08] <okdamn> is there any difference between e.which and e.keyCode ?
[17:47:13] *** bbankes has joined #angularjs
[17:47:24] <EdwardIII> ah wait disregard that, there's a "target"
[17:48:02] *** corioliss has joined #angularjs
[17:48:10] <kegster> kitcat711_, did you use importing data for ajax retrieval of json data?
[17:48:18] <kegster> or is there something else/
[17:49:39] *** dandaman has quit IRC
[17:50:06] *** elton has joined #angularjs
[17:50:09] *** wrainbolt has joined #angularjs
[17:51:13] *** Sky[x] has joined #angularjs
[17:52:08] *** sonofdirt has joined #angularjs
[17:52:44] <chris_overseas> Does anyone here use IntelliJ IDEA (or WebStorm)? If so, would it be possible to get a zip of a trivial "hello world" angular2 project? I'm new to web dev, having problems getting going with all the various module dependencies etc.
[17:53:16] <chris_overseas> (using typescript)
[17:53:50] *** swordfish has joined #angularjs
[17:54:56] *** elton has quit IRC
[17:55:47] *** sbasso has joined #angularjs
[17:56:44] *** dpicky_ has quit IRC
[17:57:59] *** sbasso has quit IRC
[17:58:07] <kitcat711_> kegster: you min $http.get ?
[17:58:25] *** davi has joined #angularjs
[17:58:26] *** davi has joined #angularjs
[17:58:43] <kegster> kitcat711_, sure. that's one way heh
[17:59:00] *** floriangosse has quit IRC
[17:59:56] *** walden is now known as walden|brb
[18:00:12] <kitcat711_> kegster: so Yes :D
[18:00:55] <kegster> meh i suppose i'll make the jump
[18:01:01] *** eago has joined #angularjs
[18:01:03] <kegster> i'm pretty upset ;P
[18:01:13] *** sbasso has joined #angularjs
[18:01:54] *** drptbl has quit IRC
[18:02:25] *** zz_dimtruck is now known as dimtruck
[18:02:31] *** zigzagzig has quit IRC
[18:03:16] *** codeitloadit has quit IRC
[18:03:16] *** LeBlaaanc has joined #angularjs
[18:04:46] *** ahaeger has quit IRC
[18:06:34] *** Coldblackice has joined #angularjs
[18:07:23] *** Gribo has joined #angularjs
[18:07:49] <Gribo> Is there a good course on angular that doesn't involve back end development?
[18:07:53] *** dpicky has joined #angularjs
[18:08:02] *** whitebook has quit IRC
[18:08:33] *** jimklo has joined #angularjs
[18:08:51] *** senayar has joined #angularjs
[18:08:51] *** senayar has joined #angularjs
[18:09:11] *** davi has quit IRC
[18:10:04] *** bengillies has quit IRC
[18:10:40] *** fotoflo has quit IRC
[18:11:12] *** bengillies has joined #angularjs
[18:11:15] *** tangorri has joined #angularjs
[18:12:49] *** tothandras_ has quit IRC
[18:13:06] *** Gribo has quit IRC
[18:16:16] *** senayar has quit IRC
[18:16:53] *** annlewis has joined #angularjs
[18:17:35] *** sonofdirt has quit IRC
[18:17:57] *** cdmsn has joined #angularjs
[18:18:31] *** Daerist has quit IRC
[18:19:26] *** subone has joined #angularjs
[18:19:51] *** tomphp has quit IRC
[18:21:04] *** jmitchell has quit IRC
[18:21:56] *** annlewis has quit IRC
[18:22:15] *** okdamn has quit IRC
[18:22:45] *** mischat_ has joined #angularjs
[18:23:04] *** jhon has joined #angularjs
[18:23:16] *** Aliks has joined #angularjs
[18:23:40] *** Ragnar has quit IRC
[18:24:21] *** Ragnar has joined #angularjs
[18:26:22] *** guilbep has quit IRC
[18:26:26] *** mischat has quit IRC
[18:26:36] *** jmitchell has joined #angularjs
[18:26:38] <subone> sup
[18:26:45] *** speeddragon has joined #angularjs
[18:27:30] *** mischat has joined #angularjs
[18:28:20] *** Zalabinsky has joined #angularjs
[18:28:22] *** intellix has quit IRC
[18:28:31] *** gatman has joined #angularjs
[18:29:03] *** mandric has joined #angularjs
[18:29:12] *** codeitloadit has joined #angularjs
[18:29:50] *** sonofdirt has joined #angularjs
[18:30:32] <wafflejock> chris_overseas: with angular 2 things are still a bit shaky if you're just getting your feet wet you probably want to stick with Ang 1.x or just focus on getting the typescript stuff working sans Ang 2 first http://splintercode.github.io/is-angular-2-ready/
[18:31:03] *** mischat__ has joined #angularjs
[18:31:05] <wafflejock> chris_overseas: using pre-beta software to develop your software isn't really recommended so you're a bit on your own if you are jumping into NG 2 right now
[18:31:26] *** mischat_ has quit IRC
[18:31:45] *** jhon has quit IRC
[18:32:03] <wafflejock> subone: o/
[18:32:03] *** jhone has joined #angularjs
[18:32:42] *** mischat has quit IRC
[18:32:42] *** debster has quit IRC
[18:33:08] <subone> Is that an unsure cyclops? Not familiar with that smiley
[18:33:15] <subone> Oh, it's a wave
[18:33:18] *** tomphp has joined #angularjs
[18:33:20] <wafflejock> yeah wavy guy :)
[18:33:46] <subone> defaulted to tilting my head sideways :p I'm so oldschool
[18:33:47] *** tangorri has quit IRC
[18:34:47] *** debster has joined #angularjs
[18:35:26] <jhone> Hello every one i am making dual communication between two controller one way is working fine http://dojo.telerik.com/@jsonnew/oweZi
[18:35:46] <jhone> but receiver is not working
[18:35:50] *** tfry has joined #angularjs
[18:35:55] <jhone> http://dojo.telerik.com/@jsonnew/OFOnE/2
[18:36:00] <jhone> like this
[18:36:01] <jhone> wayt
[18:36:04] <jhone> way
[18:36:19] *** tomphp has quit IRC
[18:36:46] *** OtherAllan has joined #angularjs
[18:36:48] <wafflejock> jhone: this won't work
[18:37:02] <jhone> Ohhh :)
[18:37:09] <wafflejock> jhone: the $controller service will make you new instances of controllers but it won't get you existing ones I'm pretty sure
[18:37:19] <jhone> So how can i get this
[18:37:23] *** codeitloadit has quit IRC
[18:37:27] <wafflejock> jhone: the typical way to communicate between controllers is either with a service or using events (prefer the former)
[18:37:31] <wafflejock> !services-sharing
[18:37:31] <angularjs_bot> How to share data between controllers http://plnkr.co/edit/41xY057yPIuKgBEyq0hW?p=preview
[18:37:54] *** lnrdo_ has joined #angularjs
[18:38:08] <jhone> ok thannks
[18:38:15] *** tomphp has joined #angularjs
[18:38:24] *** lnrdo has quit IRC
[18:38:43] <wafflejock> no problemo
[18:39:39] *** Aliks has quit IRC
[18:40:25] *** fedenunez has quit IRC
[18:41:15] *** yky has joined #angularjs
[18:41:26] *** yozilla has quit IRC
[18:41:39] *** yky is now known as Guest18085
[18:41:42] *** verbgarden has quit IRC
[18:41:42] *** dulax has quit IRC
[18:41:52] *** dulax has joined #angularjs
[18:42:54] *** Bloomer has quit IRC
[18:43:23] *** macobo has joined #angularjs
[18:43:29] *** Elion has quit IRC
[18:44:11] *** austinsk8s has joined #angularjs
[18:44:44] *** \du has quit IRC
[18:44:47] *** zigzagzig has joined #angularjs
[18:45:16] *** mischat has joined #angularjs
[18:45:37] *** walden|brb is now known as walden
[18:45:48] *** Tennis has quit IRC
[18:45:56] *** Guest18085 has quit IRC
[18:47:21] *** jhone has quit IRC
[18:47:51] *** Dmitri has joined #angularjs
[18:48:46] *** mischat__ has quit IRC
[18:49:15] *** Mumpsimus has joined #angularjs
[18:49:35] *** swordfish has quit IRC
[18:50:19] *** drptbl has joined #angularjs
[18:50:22] *** junmin has quit IRC
[18:50:55] *** erms has quit IRC
[18:51:00] *** elton has joined #angularjs
[18:51:09] *** Lihai has quit IRC
[18:52:04] *** shinnya has joined #angularjs
[18:52:47] *** swordfish has joined #angularjs
[18:52:58] *** Dmitri has quit IRC
[18:53:06] *** lnrdo_ has quit IRC
[18:53:36] *** softinio_ has joined #angularjs
[18:53:38] *** softinio has quit IRC
[18:53:39] *** softinio_ is now known as softinio
[18:54:30] *** Zamerick has joined #angularjs
[18:54:52] *** cs44 has joined #angularjs
[18:55:09] *** Es0teric has quit IRC
[18:55:34] *** elton has quit IRC
[18:56:13] *** swordfish has quit IRC
[18:56:52] *** sbellina has joined #angularjs
[18:57:52] *** davi has joined #angularjs
[18:57:53] *** davi has joined #angularjs
[18:58:17] *** dunkel2 has joined #angularjs
[18:58:40] *** eago has quit IRC
[18:59:30] <AbuDhar> guys
[18:59:34] <AbuDhar> I have a problem
[18:59:34] *** dunkel2 has quit IRC
[18:59:56] <AbuDhar> http://pastie.org/10621226 you see anything wrong with this?
[18:59:58] *** andricDu has quit IRC
[19:00:30] *** drptbl has quit IRC
[19:00:36] *** leolrrj has joined #angularjs
[19:00:37] *** leolrrj-alt has quit IRC
[19:01:34] *** lnrdo has joined #angularjs
[19:01:35] *** dpicky has quit IRC
[19:03:31] *** jmitchell has quit IRC
[19:03:54] *** jmitchell has joined #angularjs
[19:06:44] *** lindenle has quit IRC
[19:06:45] *** jlebrech has quit IRC
[19:06:51] *** lemur has joined #angularjs
[19:07:26] *** marthinal has quit IRC
[19:08:18] *** eago has joined #angularjs
[19:08:28] *** aks has quit IRC
[19:09:19] *** Aliks has joined #angularjs
[19:10:44] *** acalbaza has joined #angularjs
[19:11:50] *** leolrrj has quit IRC
[19:11:58] *** leolrrj has joined #angularjs
[19:11:59] *** umdstu has joined #angularjs
[19:12:19] <Wobbley> Hey. Is there a good resource anywhere on how to import dependencies into the angular2 quickstart project in typescript? I am pretty new to the whole angular2, systemjs dependency managment. It has been working great for me, but now that I need ng2-bootstrap I am having a hard time importing it. Tried various approaches but always get stuck somewhere...
[19:12:46] *** shinnya has quit IRC
[19:13:10] <umdstu> i'm getting an unknown provider: eProvider <- e error in the concole with my angular/rails app. unfortunately it doesn't tell me which file it doesn't like
[19:13:55] <icfantv> umdstu: i'd start with the code you just modified and work backwards. i've gotten that error before
[19:14:26] <umdstu> sadly i didn't just modify anything. this is my first time deploying non-production, and so have never had minification before now
[19:14:28] <icfantv> Wobbley: ng2 uses the ES6 import syntax
[19:14:47] *** thirdknife has quit IRC
[19:15:08] *** eago has quit IRC
[19:15:12] <umdstu> the error indicates something wrong with the minification process, i had the error earlier but it said which 'class' it didn't like. this time it doesn't tell me
[19:15:18] *** elyphas has quit IRC
[19:15:24] <Wobbley> icfantv: I added it through typescript using: import {tooltip} from 'ng2-bootstrap/ng2-bootstrap'; and installed it through NPM
[19:15:25] *** bengillies has quit IRC
[19:15:39] <icfantv> umdstu: don't make $http calls from your controller. do it in a service and return the promise.
[19:15:41] <Wobbley> It keeps looking in the source folder instead of node_modules?
[19:15:58] <umdstu> icfantv: i'm not sure what that has to do with anything
[19:16:19] <acalbaza> if i have a model that uses data from a data driven select list, should i just have one controller that manages the model + callouts for a value list? or should i have multiple controllers to support the view?
[19:16:19] *** conan_the_destro has joined #angularjs
[19:16:23] *** lnrdo has quit IRC
[19:16:25] <icfantv> umdstu: aside from bad design, it doesn't.
[19:16:35] <icfantv> umdstu: but you also didn't indicate what your problem was
[19:16:35] <umdstu> haha
[19:16:59] *** lnrdo has joined #angularjs
[19:16:59] *** VictorCL has joined #angularjs
[19:17:09] <umdstu> sure I did. I get this in the controller when loading my app: unknown provider: eProvider <- e
[19:17:14] *** bengillies has joined #angularjs
[19:17:25] <icfantv> Wobbley: i know the dev. but not the code structure off the top of my head. he needs to be exporting stuff
[19:17:26] <AbuDhar> guys
[19:17:28] <AbuDhar> I have a problem
[19:17:35] *** swordfish has joined #angularjs
[19:17:39] *** annlewis has joined #angularjs
[19:18:11] *** swordfish has quit IRC
[19:18:43] <AbuDhar> http://pastie.org/10621256 why are my reminders not accessible? what am I missing?
[19:18:58] <AbuDhar> when i console.log(data) I see the data in the console
[19:18:59] *** wrainbolt has quit IRC
[19:19:10] *** VictorCL has quit IRC
[19:19:13] *** tiagoboldt has quit IRC
[19:19:18] <umdstu> icfantv: i know how to solve the problem. i just can't pinpoint where it's happening based on the error
[19:19:23] *** cs44 has left #angularjs
[19:19:32] <icfantv> umdstu: sorry, i replied to the wrong person forget what i said. you need to start with the code you just modified and work backwards. if the error just happened then you probably did somehting silly.
[19:19:57] <icfantv> AbuDhar: sorry, i responded to the wrong person. don't make $http calls in your controller - make a service instead. also, you haven't indicated what your problem is.
[19:19:58] <umdstu> icfantv: it didn't just happen, it's my first time deploying, so its the first time I've minified the js code
[19:20:11] <umdstu> it could be something I added on day one or yesterday
[19:20:13] <icfantv> umdstu: right. hence you need to work backwards from what you just changed
[19:20:24] <icfantv> umdstu: i know that error is frustrating. i've been there
[19:20:25] <umdstu> there isn't anything that 'just changed'
[19:20:33] <Wobbley> icfantv: yeah I know. I guess I only have myself to blame since I am trying so many things at once. Is systems somehow a part of this, am I missing something there?
[19:20:47] <umdstu> i'll keep working at it i guess
[19:20:51] <Wobbley> *so many new things
[19:20:51] *** suvdeep has joined #angularjs
[19:21:04] *** uNki has joined #angularjs
[19:21:06] <icfantv> umdstu: the error didn't just magically appear.
[19:21:08] <icfantv> :-)
[19:21:20] <icfantv> angular is cool, but it doesn't work on the basis of magic
[19:21:25] *** suvdeep has quit IRC
[19:21:37] <umdstu> icfantv: it did
[19:21:45] <icfantv> Wobbley: systems?
[19:21:48] *** stephen has joined #angularjs
[19:21:49] <umdstu> perhaps i'm not working this properly
[19:21:49] <icfantv> umdstu: did you upgrade a library?
[19:21:56] *** suvdeep has joined #angularjs
[19:22:06] *** lnrdo has quit IRC
[19:22:27] *** annlewis has quit IRC
[19:22:34] <umdstu> nothing has changed. the app works great. because, as I mentioned, it's a rails app, in non-development environment, the JS code gets minified. since this is the first time i've deployed, as I said, it's the first time this could have happend
[19:22:43] *** jmitchell has quit IRC
[19:22:45] *** uNki has quit IRC
[19:22:47] <umdstu> therefore it could have been from a change I made on day one or a change i made yesterday
[19:23:30] <umdstu> does that make sense now?
[19:24:07] *** jmitchell has joined #angularjs
[19:24:50] <icfantv> oy. yes
[19:24:52] <icfantv> :-(
[19:25:02] <icfantv> Wobbley: baby steps man. baby steps
[19:25:08] *** Aliks has quit IRC
[19:25:16] *** speeddragon has quit IRC
[19:25:56] <umdstu> annoyingly, the line number in the console that the error gives points to normal js code, not angular code....
[19:26:07] *** mischat has quit IRC
[19:26:08] <icfantv> umdstu: are you using array syntax in your component definitions?
[19:26:15] *** fantnn has joined #angularjs
[19:26:34] *** Hounddog has quit IRC
[19:26:40] <umdstu> yes, that's the 'solution' to the problem. all my code is written that way to support minification
[19:26:41] *** speeddr__ has joined #angularjs
[19:26:55] <icfantv> ok
[19:26:57] <umdstu> so it must not be my code, some other 3rd party asset
[19:27:06] <icfantv> just checking
[19:27:22] <umdstu> the line points to daterangepicker.js which is not angular... but there is an angular wrapper for it
[19:27:42] <umdstu> though i'd imagine if that was it it point to the wrapper
[19:28:03] <Wobbley> icfantv: its a dependency loader that is used in the angular2 quick start, like require js
[19:28:09] <icfantv> umdstu: are you using bootstrap?
[19:28:22] <umdstu> yes
[19:28:24] <icfantv> Wobbley: oh right.
[19:28:27] <umdstu> via ui-bootstrap
[19:28:33] <umdstu> or angular-ui
[19:29:02] <Wobbley> icfantv: I know baby steps are the way to go but I got excited working on this thing :p
[19:29:07] <icfantv> umdstu: cool. glad to hear that (i'm one of the devs).
[19:29:13] *** speeddr__ has quit IRC
[19:29:15] <umdstu> oh
[19:29:19] <umdstu> in that case, ITS AWFUL
[19:29:20] <icfantv> was just curious if you were wrapping one of the components
[19:29:24] <umdstu> jk
[19:29:24] <icfantv> heh
[19:29:54] <icfantv> Wobbley: we're working on an ng2 port of UIBS - but won't it full force till january. focusing on 1.0 release right now
[19:29:56] <umdstu> this one: https://github.com/fragaria/angular-daterangepicker
[19:30:37] <umdstu> which appears to be mini safe
[19:30:42] *** cotko has quit IRC
[19:31:13] <icfantv> umdstu: ok. just trying to pick through things.
[19:31:21] *** MrBaboon has joined #angularjs
[19:31:22] <icfantv> umdstu: next step is to start commenting out modules
[19:31:53] <umdstu> well
[19:32:21] <umdstu> i'll need to reconfigure to minify in dev, otherwise i'd be waiting a while for each deploy to test failure
[19:32:36] <icfantv> does it happen when you don't minify>
[19:32:37] <icfantv> ?
[19:32:46] <umdstu> no, everything is great in dev
[19:33:08] <Wobbley> icfantv: that's cool. We still use knockout on the project at work. Probably rotating to some new project soon enough. I think I am just going to give up on getting this imported for now and Google more tomorrow. Thanks for the help :)
[19:33:21] <icfantv> yep
[19:33:22] <umdstu> so i know its a matter of correctly injecting
[19:33:45] <icfantv> umdstu: hence my question of [] syntax in module defs.
[19:33:51] <umdstu> yep
[19:33:52] <icfantv> umdstu: do you turn on strict DI checking?
[19:33:53] <umdstu> i hear ya
[19:34:00] <icfantv> that could indicate if you've missed one somewhere
[19:34:03] <umdstu> no
[19:34:07] <AbuDhar> icfantv: that is from the angular tutorials btw
[19:34:15] <umdstu> i'll paste that in every file oO
[19:34:23] *** eshlox has quit IRC
[19:34:50] <icfantv> AbuDhar: tutorials rarely show the proper way to design code.
[19:34:59] <AbuDhar> AAAAAAAAAAAAARGH
[19:35:04] <icfantv> AbuDhar: also, you've still not told us what your problem is - it's very hard to provide support.
[19:35:04] *** junmin has joined #angularjs
[19:35:09] *** p0k0 has joined #angularjs
[19:35:11] *** tiagoboldt has joined #angularjs
[19:35:18] <icfantv> umdstu: do you bootstrap angular or do you use ng-app?
[19:35:20] *** lemur has quit IRC
[19:35:44] <icfantv> i have to look up how to turn that on if you use ng-app. but if you bootstrap it, it's easy.
[19:36:03] <icfantv> umdstu: you don't need it in every file - it's a config thing at angular boot time
[19:36:16] <icfantv> but it checks that you're using [] syntax everywhere
[19:36:23] <icfantv> and barfs if you aren't
[19:36:24] <umdstu> i was thinking you meant 'use 'strict'' but now i see you mean ng-strict-di
[19:36:31] <umdstu> yea i skimmed the doc page
[19:36:40] <umdstu> ng-app
[19:36:45] <umdstu> to answer your other question
[19:36:47] <icfantv> this:
[19:36:47] <icfantv> angular.bootstrap(document.body, [app.name], {
[19:36:47] <icfantv> strictDi: true
[19:36:48] <icfantv> });
[19:37:04] <umdstu> if i bootstrapped
[19:37:13] <umdstu> ng-strict-di next to ng-app, yea?
[19:37:18] *** sbellina has quit IRC
[19:37:24] <icfantv> i'd have to look that up as i said. we don't use ng-app
[19:37:59] <umdstu> it's right here
[19:37:59] <umdstu> https://docs.angularjs.org/guide/di
[19:38:09] *** macobo has quit IRC
[19:38:24] <icfantv> yea, add it to the same element w/ ng-app
[19:38:24] *** eshlox has joined #angularjs
[19:38:29] *** eshlox has quit IRC
[19:38:29] *** eshlox has joined #angularjs
[19:38:36] <AbuDhar> icfantv: problem is my data isn't displaying in my index.html :D
[19:38:38] <umdstu> welp, found one hah.
[19:38:41] <icfantv> glad to see they recommend not using ng-annotate
[19:39:00] <icfantv> AbuDhar: that could be due to a number of things
[19:39:15] <umdstu> well, that's 3rd party isn't it?
[19:39:18] <icfantv> AbuDhar: could you gist your code again? the relevant portions of JS and the HTML?
[19:39:51] <icfantv> umdstu: yes, but angular does recommend 3rd party on occasion. though granted the ones i've seen are from angular devs…..
[19:40:20] *** Letze has quit IRC
[19:40:40] *** Letze has joined #angularjs
[19:40:52] <AbuDhar> icfantv: sure
[19:41:01] <icfantv> cheers
[19:41:20] <AbuDhar> http://pastie.org/10621302
[19:41:21] <umdstu> ah, my .run() isn't modularized
[19:42:12] <icfantv> :-)
[19:42:33] <icfantv> AbuDhar: change .success to .then
[19:42:39] *** sonofdirt has quit IRC
[19:43:16] <icfantv> AbuDhar: also, don't put ng-app on the <html> element - that can muck w/ animations
[19:43:20] <icfantv> put it on <body> instead
[19:43:22] *** sbellina has joined #angularjs
[19:43:53] <icfantv> at least - it does when bootstrapping angular. assuming here that it's the same when using -ng-app....
[19:44:03] *** sergey has joined #angularjs
[19:44:08] <icfantv> umdstu: if you modularise it, does it fix it?
[19:45:09] *** saysora has joined #angularjs
[19:45:31] <AbuDhar> icfantv: it works but the ng-repeat is repeated 6 times it seems.. lol why?
[19:45:37] <AbuDhar> I only have one post in my DB
[19:45:37] <umdstu> trying that now
[19:46:10] *** Zamerick has quit IRC
[19:46:27] *** sergey has quit IRC
[19:46:43] *** Aliks has joined #angularjs
[19:47:00] *** swordfish has joined #angularjs
[19:47:13] *** Aliks has quit IRC
[19:47:18] *** ESpiney has joined #angularjs
[19:47:55] *** marthinal has joined #angularjs
[19:48:00] *** sergey has joined #angularjs
[19:48:17] *** Vertigo has joined #angularjs
[19:48:35] *** cotko has joined #angularjs
[19:48:44] *** Wouter0100 has quit IRC
[19:48:50] <Vertigo> clear
[19:49:24] *** PentLab has joined #angularjs
[19:50:12] *** Vertigo has quit IRC
[19:50:15] *** acalbaza has quit IRC
[19:50:43] *** debster has quit IRC
[19:51:29] *** elton has joined #angularjs
[19:51:36] <AbuDhar> can you explain why ng is repeated 6 times icfantv?
[19:51:41] *** tomphp has quit IRC
[19:51:46] *** adiman has quit IRC
[19:52:07] <icfantv> AbuDhar: $http passes in a response to the callback function. you need to call response.data to get the array of stuff returned
[19:52:37] *** CAPITANOOO has quit IRC
[19:52:42] *** GroggleWork has joined #angularjs
[19:52:45] <icfantv> ala: $http.get(…).then(function(response) { $scope.items = angular.copy(response.data); });
[19:53:23] *** Wouter0100 has joined #angularjs
[19:53:23] <icfantv> AbuDhar: ng-repeat doesn't discern between arrays or JSON objects. if the latter, it will iterate over each key provided the has own property returns true
[19:53:50] <GroggleWork> Hoping for help: I'm getting "undefined" when I try to bind a select to my model, missing something. HTML: https://bpaste.net/show/862b89bd5df0 JavaScript: https://bpaste.net/show/d53c57d50162 .
[19:53:54] *** tomphp has joined #angularjs
[19:54:01] <GroggleWork> I've been banging my head against it for hours and can't figure it out.
[19:55:03] <icfantv> AbuDhar: check that, not sure about the hasOwnProperty check. the iteration order over the keys, however used to be alphabetic in 1.3, but was removed in 1.4. now it iterates over the keys in the order they were defined.
[19:55:29] <AbuDhar> I only have two fields in the DB
[19:55:33] <AbuDhar> well 3 with the ID
[19:55:48] <AbuDhar> why do I have 6 li elements where 5 are empty with no data
[19:55:49] *** elton has quit IRC
[19:55:50] <AbuDhar> ?
[19:56:13] *** erol has joined #angularjs
[19:56:21] *** ulkesh has quit IRC
[19:56:29] *** thirdknife has joined #angularjs
[19:57:13] <kegster> anyone here use the angular-datatables module?
[19:57:20] *** swordfish has quit IRC
[19:57:54] *** tomphp_ has joined #angularjs
[19:58:04] *** Aliks has joined #angularjs
[19:58:12] *** tfry has quit IRC
[19:58:22] *** Voltasalt is now known as Angrysalt
[19:58:28] *** tfry has joined #angularjs
[19:58:42] <icfantv> kegster: i've been meaning to check it out as an ng-grid alternative
[19:58:47] <icfantv> ng-grid makes my head hurt
[19:58:52] *** tomphp has quit IRC
[19:58:56] <icfantv> i've heard good things
[19:59:02] <kegster> is ng-grid the same as ui-grid?
[19:59:23] *** tomphp_ has quit IRC
[19:59:26] <kegster> angular-datatables (it's datatables bridged to angular) works awesome, but i can't get any of the damn extension to work at all
[19:59:32] <kegster> per the code exactly as is on the demos lol.
[19:59:36] *** Mumpsimus has quit IRC
[19:59:55] <wafflejock> kegster: ui-grid is the spiritual successor to ng-grid
[19:59:57] <icfantv> AbuDhar: dude. i can't read your terminal. i have no idea what data you're getting back. see my comment about what the data passed into the callback function is. if you don't specify response.data, you get the keys of the response object. i.e. headers, data, response code, etc...
[20:00:07] <icfantv> wafflejock: gah! i misspoke
[20:00:10] <icfantv> i meant ui-grid
[20:00:17] <icfantv> it still makes my head hurt
[20:00:24] <kegster> wafflejock, you have preference of ui-grid vs angular-datatables?
[20:00:35] <icfantv> kegster: i misspoke, i meant ui-grid
[20:00:41] <wafflejock> kegster: haven't tried datatables think that's jQuery based which I shy away from
[20:00:47] <icfantv> i don't believe ng-grid is being supported any more
[20:00:49] <kegster> icfantv, yeah it made my head hurt after looking at it-- though to be fair i had just spent a bunch of time with datatables haha
[20:00:54] *** iraj has quit IRC
[20:00:54] *** iraj has joined #angularjs
[20:01:01] <wafflejock> yeah ng-grid was old and crufty
[20:01:03] <kegster> kind of bummed
[20:01:04] <icfantv> there's a few others ive' seen that i've heard good things about
[20:01:05] <icfantv> one sec
[20:01:06] <wafflejock> so people started ui-grid
[20:01:35] <icfantv> wait a second. kegster, it wasn't angular-datatables i was thinking of
[20:01:37] <icfantv> hold on
[20:01:42] *** Aliks has quit IRC
[20:02:06] <wafflejock> kegster: ng-table is nice and simple but doesn't do the virtualization of the list if you have a ton of elements
[20:02:39] *** aghiuru has quit IRC
[20:02:45] *** mandric has quit IRC
[20:03:16] <wafflejock> it does have built in paging stuff though so can get around that too
[20:03:26] <icfantv> kegster: ag-grid
[20:03:56] <Foxandxss> EdwardIII: sorry, was shopping time. I prefer npm + webpack (but npm with anything in reality)
[20:04:03] <icfantv> and angular-datatables does use jquery, IIRC
[20:04:07] <Foxandxss> about "splurge", what does that mean?
[20:04:29] <Foxandxss> and create new element to toasts is the sanest option. You can create a new container inside the element you want anyway
[20:04:53] <icfantv> kegster: i'd STRONGLY recommend creating a spike task at work and using the same model data create the grid you want to use in production and see what's the easiest API to work with.
[20:05:02] <icfantv> but also one that's heavily maintained
[20:05:07] <icfantv> which, ui-grid is
[20:07:00] *** erol has quit IRC
[20:07:11] <AbuDhar> so I have to specify response.data? :D
[20:07:31] <icfantv> AbuDhar: only if you actually want to get the data from the $http call
[20:07:37] <icfantv> which i think that you do
[20:07:53] *** steven10172 has joined #angularjs
[20:08:42] *** thirdknife has quit IRC
[20:08:46] <kegster> wafflejock, icfantv, well i like being able to search per column, and other features like paginating, etc
[20:08:52] <kegster> not sure if that falls under virtualization
[20:09:05] <kegster> i just can't imagine the dang example bit forbit just doen't work lol
[20:09:24] <kegster> i like datatables so far. maybe i can just use datatables without the angular plugin, though don't want to reinvent the wheel.
[20:09:28] *** knownasilya has joined #angularjs
[20:10:50] <wafflejock> kegster: yeah you're gonna need to wrap datatables in a directive which is probably what the thing you found is doing
[20:11:06] <icfantv> the problem with a lot of 3rd party libraries is they try to do too many things and wind up doing too many things half-assed. rather than starting with doing only a couple of things, but doing them REALLY well.
[20:11:25] *** uNki has joined #angularjs
[20:11:29] <wafflejock> kegster: regarding "virtual scrolling" it's just a technique where they only make DOM elements to fill what's in the scroll region then swap those around to make it act like regular scrolling but it helps if you have like hundred to thousands of rows on a page
[20:11:53] *** bayousoft has joined #angularjs
[20:13:03] <kegster> wafflejock, yeah i got the directive wrapper part. took me a while to figure that out for other reasons haha.
[20:13:11] <kegster> wafflejock, so pagination, etc, would be the virtualization
[20:13:15] *** mandric has joined #angularjs
[20:13:45] <AbuDhar> icfantv: yeah that is what I want.
[20:14:05] <AbuDhar> {"id":"1","title":"Hello World","content":"Hello !"}
[20:14:12] <AbuDhar> this is my response from the api
[20:14:43] <kegster> sounds like i'll try datatables by itself
[20:14:55] *** thirdknife has joined #angularjs
[20:15:06] <kegster> i am not sure what angular-datatables does for me except help out with SOME things... but i won't be using datatables extensively enough for it to hopefully matter
[20:15:17] <kegster> (does for me in comparison)
[20:15:28] *** iraj has quit IRC
[20:15:49] <icfantv> AbuDhar: you're returning an array, right? not just one object?
[20:16:04] <AbuDhar> no just an object.
[20:16:10] <AbuDhar> I am using silex framework
[20:16:14] <icfantv> AbuDhar: if you pass that to ng-repeat, it's going to iterate over 'id', 'title', and 'content'
[20:16:30] <icfantv> AbuDhar: ok, that's probably NOT what you want to pass to ng-repeat then
[20:16:37] *** lmatteis has quit IRC
[20:16:41] <icfantv> in fact, you don't want ng-repeat at all
[20:16:58] <AbuDhar> what do I want instead?
[20:17:21] <icfantv> AbuDhar: rather you want $http(…).then(…) <— set your $scope field w/ response.data
[20:17:51] <icfantv> AbuDhar: and then in your HTML template, you just reference {{ scopeField.id }}, {{ scopeField.title }}, ...
[20:17:51] <zeezey> responsive
[20:18:10] <icfantv> AbuDhar: or use ng-bind - that's the preferred way rather than using {{ }} syntax
[20:18:26] *** annlewis has joined #angularjs
[20:18:28] *** lnrdo has joined #angularjs
[20:18:30] *** dlam has joined #angularjs
[20:19:01] <AbuDhar> but I will have an array of those later on
[20:19:05] <AbuDhar> objects
[20:19:15] <AbuDhar> I was just making an example. Let me add some more to my DB
[20:19:22] *** aks has joined #angularjs
[20:19:48] <icfantv> AbuDhar: then you do want ng-repeat, but you have to make sure you are returning an array of objects from your server - even if it's only one item
[20:21:34] *** punknroll has quit IRC
[20:21:40] *** Aliks has joined #angularjs
[20:22:35] *** Ir1sh has quit IRC
[20:22:58] <AbuDhar> [{"id":"1","title":"Hello World","content":"Hello !"},{"id":"2","title":"Hey 2","content":"This is a reminder."}]
[20:23:05] <AbuDhar> this is what is returned from the server now
[20:23:06] *** tiagoboldt has quit IRC
[20:23:06] *** annlewis has quit IRC
[20:23:16] *** swordfish has joined #angularjs
[20:23:26] *** lnrdo has quit IRC
[20:23:33] *** aks has quit IRC
[20:24:20] *** swordfish has quit IRC
[20:24:29] <wafflejock> kegster: stepped out there for a minute... the "scroll virtualization" generally refers to just the part where it makes a pool of DOM elements for what to show in the scroll area and it just re-uses those DOM elements by adjusting their position and changing the innerHTML on those elements as it re-uses them when the person scrolls
[20:24:58] *** tiagoboldt has joined #angularjs
[20:25:14] *** suvdeep has quit IRC
[20:25:34] *** swordfish has joined #angularjs
[20:25:40] <wafflejock> kegster: say you have a ng-repeat on some tr for a list of 1000 elements and for each tr you have 5 td elements in there then you have 5000 DOM elements, even if you add a scroll with overflow:scroll CSS and a height the browser is dumb about it and still calculates the position for all 5000 elements even though you can only see whatever is clipped in the box
[20:25:50] *** PentLab has left #angularjs
[20:26:24] *** juddey has joined #angularjs
[20:27:50] *** iraj has joined #angularjs
[20:28:13] <wafflejock> kegster: pagination solves the same performance problem but by giving the user some other UI to get between sets of data that are smaller
[20:28:36] *** iraj has quit IRC
[20:29:05] *** macmod has joined #angularjs
[20:29:07] *** iraj has joined #angularjs
[20:29:22] *** tiagoboldt has quit IRC
[20:29:23] *** angular_mike__ has quit IRC
[20:29:30] <wafflejock> kegster: down side to doing virtual scrolling type stuff is it works by knowing the height of all the rows in advance so if you have variable row height that can be a problem
[20:29:55] *** iraj has quit IRC
[20:30:20] *** iraj has joined #angularjs
[20:30:59] *** AndrewIsh has quit IRC
[20:31:05] *** iraj has quit IRC
[20:31:30] *** iraj has joined #angularjs
[20:31:31] *** uNki has quit IRC
[20:32:18] *** iraj has quit IRC
[20:32:29] *** yky has joined #angularjs
[20:32:45] *** iraj has joined #angularjs
[20:32:52] *** yky is now known as Guest32311
[20:32:57] *** Angrysalt is now known as xSke
[20:33:33] *** iraj has quit IRC
[20:33:59] <CanyonMan> Why doesn't the ng-click on this button work? http://plnkr.co/edit/zbVCmebClhgAz2sWciPU?p=preview
[20:34:00] *** iraj has joined #angularjs
[20:34:04] <AbuDhar> I am trying the non-short way
[20:34:20] *** Bloomer has joined #angularjs
[20:34:21] <wafflejock> kegster: the way I think of virtual scrolling is like that theory of how Egyptians could have moved big blocks of stone by using a set of logs and each time the stone moves up past the last log it gets moved to the front, where the block is basically the viewport and the logs are the rows :)
[20:34:47] <wafflejock> CanyonMan: evaluation context, the expressions are evaluated against scope
[20:34:49] *** iraj has quit IRC
[20:34:51] *** fcanela has quit IRC
[20:35:00] <wafflejock> https://docs.angularjs.org/guide/expression
[20:35:02] <kegster> wafflejock, interesting
[20:35:15] *** iraj has joined #angularjs
[20:35:20] <kegster> so does the one you gave that does not have virtualization-- does that allow for pagination?
[20:35:35] <wafflejock> kegster: yeah ngTable has pagination stuff built in
[20:35:37] <kegster> here i am just wanting a dang table and i can't nail one down lmao
[20:35:40] <CanyonMan> wafflejock: what does that mean if you're trying to do something not even realted to scope?
[20:35:50] *** tiagoboldt has joined #angularjs
[20:36:01] *** iraj has quit IRC
[20:36:18] <kegster> wafflejock, so is there a reason NOT to use ngtable? i plan on having LOTS of data sometimes, but simple use for the table. column sorting and paginating, etc
[20:36:19] <wafflejock> CanyonMan: cause of this "Context: JavaScript expressions are evaluated against the global window. In Angular, expressions are evaluated against a scopeobject." I don't think it's an option really
[20:37:07] <wafflejock> kegster: not that I've run into really just a matter of if you really need the virtual scrolling or if you're cool with pagination in those cases where you have tons of rows, it's pretty good about not getting in the way though
[20:37:18] <wafflejock> kegster: I've used it with angular-x-editable pretty successfully
[20:37:29] <CanyonMan> wafflejock: oh okay. SO IT IS working, I just picked a really dumb test
[20:37:37] <CanyonMan> I see
[20:37:56] <kegster> wafflejock, yeah i really don't need the virtual scrolling / unlimited scrolling at all. that's actually what i dONT need so sounds like i might have struck some luck :D
[20:38:12] *** mandric has quit IRC
[20:38:27] *** mandric has joined #angularjs
[20:39:39] *** lnrdo has joined #angularjs
[20:40:38] *** jenelizabeth_ has quit IRC
[20:41:22] *** dopesong has joined #angularjs
[20:41:35] *** jenelizabeth_ has joined #angularjs
[20:41:38] *** jmitchell has quit IRC
[20:42:03] *** angular_mike__ has joined #angularjs
[20:42:16] *** festercluck has joined #angularjs
[20:42:46] *** juddey has quit IRC
[20:43:27] *** nya_ has quit IRC
[20:44:02] *** nya has joined #angularjs
[20:44:07] *** jmitchell has joined #angularjs
[20:44:09] *** elyssonmr has quit IRC
[20:44:24] *** fantnn has quit IRC
[20:44:25] *** nya is now known as Guest46762
[20:44:26] <umdstu> icfantv: yea that seemed to do the trick
[20:44:32] <icfantv> woot!
[20:44:46] *** marthinal has quit IRC
[20:44:53] * icfantv is the man
[20:44:53] <CanyonMan> The html5 type=file input is really pretty terrible. It's pretty much impossible to style it with bootstrap. People do terrible things like overlay things on top of the default ugly button to hide it. It's awful.
[20:45:05] <umdstu> o_O
[20:45:10] <umdstu> i'll give it to you
[20:45:14] <CanyonMan> I decided to have an <input display="visibility: none"> then have a nice stylized button do thatThing.trigger('click')
[20:45:14] *** zlalanne_ has joined #angularjs
[20:45:24] <CanyonMan> input type="file" doesn't work with ng-model either
[20:45:26] <wafflejock> CanyonMan: yeah I have some such hack in my projects too it is frustrating
[20:45:30] *** stephen has quit IRC
[20:45:38] <CanyonMan> so now I'm trying to figure out: how the hell do I know when the guy actually picked something
[20:45:40] <wafflejock> CanyonMan: styling checkboxes is a nightmare too I wrote a directive instead :)
[20:45:43] *** kaiserleo has quit IRC
[20:46:00] *** thirdknife has quit IRC
[20:46:06] *** schneider has quit IRC
[20:46:20] <umdstu> i use this to stylize checkboxes and radios: http://www.cssscript.com/demo/pretty-checkbox-radio-inputs-with-bootstrap-and-awesome-bootstrap-checkbox-css/
[20:46:26] <AbuDhar> icfantv: who are you man?
[20:46:28] <umdstu> tweak them to my needs
[20:46:38] <CanyonMan> I TRIED to follow this: http://www.abeautifulsite.net/whipping-file-inputs-into-shape-with-bootstrap-3/
[20:46:48] <CanyonMan> but either way you slice it, it's just awful
[20:47:07] <CanyonMan> Now, what I'm wishing is that trigger('click') returned a promise so I could know when the guy was done :-(
[20:47:20] *** sonofdirt has joined #angularjs
[20:47:36] *** zlalanne has quit IRC
[20:47:50] <icfantv> AbuDhar: you had to understand the context of the conversation umdstu and i had about his provider not found issue
[20:47:50] <CanyonMan> but near as I can tell, it's impossible, and I have no choice but to do a dom onclick >:( >:( >:(
[20:47:51] *** speeddragon has joined #angularjs
[20:47:53] <umdstu> CanyonMan: you trying to make nice looking file inputs?
[20:48:02] <AbuDhar> icfantv: lol I fixed my problem btw
[20:48:06] *** Guest46762 has quit IRC
[20:48:14] <umdstu> CanyonMan: it's possible
[20:48:20] <umdstu> you're going in the wrong direction
[20:48:24] <CanyonMan> Yeah, do you know what a bootstrap um ... I can never remember what is' called ... input-grou-btn ? Where it's a rounded rectangle thing
[20:48:36] <AbuDhar> I am going to use bootstrap :P
[20:48:38] <CanyonMan> with a button on the left half (and only 1/2 rounded) and text on the right half
[20:48:46] *** tfry has quit IRC
[20:48:47] <CanyonMan> umdstu: yeah? What do you suggest?
[20:48:48] <umdstu> you want to use a file input, but hide it
[20:49:02] <umdstu> then put a nice pretty button on top
[20:49:12] <umdstu> they think they're clicking the button... but they aint
[20:49:17] <umdstu> jokes on them!
[20:49:20] <CanyonMan> Yeah that's what I ended up with, it's a file input, hidden. And a bootstrap button whose ng-click finds it and sends it a click trigger
[20:49:30] <CanyonMan> You know
[20:49:38] <CanyonMan> You're right, I need to put this into a goddamned directive for starters
[20:49:39] <umdstu> no that's still not entirely right
[20:49:42] <CanyonMan> that won't make it any less hideous
[20:49:50] <umdstu> one sec
[20:50:02] <CanyonMan> umdstu: what else could I do to activate the hidden file input, other than send it a click?
[20:50:25] <umdstu> like i said
[20:50:32] <umdstu> they're actually going to click the hidden input
[20:50:37] <umdstu> not the button
[20:50:54] <umdstu> you dont want to hide it hide it, you watn to pretend hide it
[20:51:06] *** jbourassa has joined #angularjs
[20:51:08] <CanyonMan> It can be clicked but still be invisible?
[20:51:14] *** jbourassa has left #angularjs
[20:51:24] *** GroggleWork has quit IRC
[20:51:30] *** whitebook has joined #angularjs
[20:51:52] <umdstu> it won't be invisible. it just won't be visible
[20:51:56] <umdstu> haha. one second man
[20:52:11] *** sonofdirt has joined #angularjs
[20:52:18] *** speeddragon has quit IRC
[20:52:27] *** elton has joined #angularjs
[20:52:30] *** iraj has joined #angularjs
[20:52:41] <CanyonMan> I'm glad to know I'm not the only one frustrated by this
[20:53:20] *** iraj has quit IRC
[20:53:45] *** iraj has joined #angularjs
[20:54:01] *** festercluck has quit IRC
[20:54:16] *** thirdknife has joined #angularjs
[20:54:34] *** iraj has quit IRC
[20:54:51] <umdstu> it's all about CSS
[20:55:03] *** iraj has joined #angularjs
[20:55:53] *** iraj has quit IRC
[20:56:10] *** GroggleWork has joined #angularjs
[20:56:16] <umdstu> wait, hang on. what was wrong with the URL you pasted earlier?
[20:56:25] *** iraj has joined #angularjs
[20:56:50] *** elton has quit IRC
[20:57:11] *** iraj has quit IRC
[20:57:40] *** fantnn has joined #angularjs
[20:57:49] *** iraj has joined #angularjs
[20:58:31] *** iraj has quit IRC
[20:59:09] <CanyonMan> it's not very angulary that's all
[20:59:33] *** kk_drop has quit IRC
[20:59:40] *** iraj has joined #angularjs
[21:00:21] *** iraj has quit IRC
[21:00:25] *** thirdknife has quit IRC
[21:00:28] *** danielemm has joined #angularjs
[21:00:48] *** iraj has joined #angularjs
[21:01:26] <umdstu> the second part, about the user feedback?
[21:01:29] *** iraj has quit IRC
[21:01:36] <umdstu> what's your goal here, your use case?
[21:01:52] <CanyonMan> to make it as least hacky as possible considering the circumstances
[21:01:55] <CanyonMan> that's really it
[21:01:59] *** iraj has joined #angularjs
[21:02:01] <umdstu> i mean
[21:02:07] *** fantnn has quit IRC
[21:02:11] <umdstu> from an interface perspective
[21:02:20] <umdstu> what are you trying to implement
[21:02:23] <CanyonMan> and my usual goals really: least possible DOM/jquery style interaction
[21:02:27] <CanyonMan> oh
[21:02:28] <CanyonMan> ok
[21:02:30] <CanyonMan> one sec
[21:02:43] <umdstu> ok
[21:02:52] *** iraj has quit IRC
[21:02:55] <CanyonMan> http://v4-alpha.getbootstrap.com/components/input-group/#button-addons
[21:03:12] <CanyonMan> See that first example where it says Go! and then the "Search for ..." kind of morphs together
[21:03:18] *** iraj has joined #angularjs
[21:03:21] <CanyonMan> like it's all one big form field, but the left part is a button
[21:03:24] <CanyonMan> That's what I want it to look like
[21:03:31] *** zlalanne_ has quit IRC
[21:03:34] <CanyonMan> That way, it fits in with the look and feel of the rest of the (bootstrap looking) form
[21:04:00] *** iraj has quit IRC
[21:04:25] *** iraj has joined #angularjs
[21:04:47] *** erol has joined #angularjs
[21:04:56] *** whitebook has quit IRC
[21:04:57] <umdstu> so you just have a form with a file field that they can upload on submit?
[21:05:04] *** uNki has joined #angularjs
[21:05:05] *** iraj has quit IRC
[21:05:18] *** Zamerick has joined #angularjs
[21:05:30] *** iraj has joined #angularjs
[21:05:59] <CanyonMan> wait a second wait a second
[21:06:02] <CanyonMan> opacity: 0
[21:06:06] <CanyonMan> is that the real thing here?
[21:06:08] *** iraj has quit IRC
[21:06:21] <CanyonMan> is that what you meant by it's not visible, but it's not invisible ?
[21:06:40] *** iraj has joined #angularjs
[21:07:08] <umdstu> i was trying to dig out my old code
[21:07:12] *** direveri_ has quit IRC
[21:07:20] *** iraj has quit IRC
[21:07:28] <umdstu> i dont think that was it tho. i think it was something with the width/height and position
[21:07:37] *** erol has quit IRC
[21:07:38] *** lemur has joined #angularjs
[21:08:15] *** iraj has joined #angularjs
[21:08:57] *** iraj has quit IRC
[21:09:06] *** itamarjp has quit IRC
[21:09:23] <umdstu> here i just found this, not sure if its what i used before tho" http://geniuscarrier.com/how-to-style-a-html-file-upload-button-in-pure-css/
[21:09:26] *** iraj has joined #angularjs
[21:10:04] *** iraj has quit IRC
[21:10:27] *** yang_ has joined #angularjs
[21:10:34] *** chinchill has quit IRC
[21:10:47] <kegster> is there a way to add effects to ng-show? so when it appears, it fades? already tried CSS but unsure if that was the proper method (or if i used the proper selector maybe?)
[21:10:48] *** iraj has joined #angularjs
[21:11:09] *** yang_ has quit IRC
[21:11:26] <kegster> Also curious to any well known, widely used boilers for angular apps? Trying to just see the structure, and how to handle different views or going from one "screen" to the next and back efficiently, etc
[21:11:34] *** Bloomer has quit IRC
[21:11:39] *** iraj has quit IRC
[21:12:13] *** iraj has joined #angularjs
[21:12:17] *** edrocks has quit IRC
[21:12:18] *** lemur has quit IRC
[21:12:22] <CanyonMan> umdstu: let me try those styles
[21:12:53] *** iraj has quit IRC
[21:12:54] *** omnomnom has joined #angularjs
[21:13:23] *** iraj has joined #angularjs
[21:13:27] *** swordfish has quit IRC
[21:14:24] *** swordfish has joined #angularjs
[21:14:57] *** iraj has quit IRC
[21:15:21] *** swordfish has quit IRC
[21:15:33] *** iraj has joined #angularjs
[21:15:54] *** Guest32311 has quit IRC
[21:16:03] <umdstu> CanyonMan: ok
[21:16:23] *** iraj has quit IRC
[21:17:08] *** iraj has joined #angularjs
[21:17:09] *** omnomnom has quit IRC
[21:17:48] *** iraj has quit IRC
[21:18:18] *** iraj has joined #angularjs
[21:18:23] <CanyonMan> geeze
[21:18:29] <CanyonMan> it doesn't work yet but it sure LOOKS right
[21:18:50] <CanyonMan> I had to set the margin to 0px in their style to get it to line up
[21:19:11] *** cebor has quit IRC
[21:19:12] <CanyonMan> let me try simplifying these styles
[21:19:13] *** annlewis has joined #angularjs
[21:19:40] *** Ir1sh has joined #angularjs
[21:19:53] *** iraj has quit IRC
[21:20:00] *** cebor has joined #angularjs
[21:20:05] *** SteenJobs has joined #angularjs
[21:20:38] *** iraj has joined #angularjs
[21:20:49] *** fedenunez has joined #angularjs
[21:21:16] *** iraj has quit IRC
[21:21:37] *** diameter has joined #angularjs
[21:21:43] *** iraj has joined #angularjs
[21:22:03] *** AbuDhar has quit IRC
[21:22:23] *** iraj has quit IRC
[21:22:59] *** iraj has joined #angularjs
[21:23:05] *** Coldblackice has quit IRC
[21:23:16] *** ararog has quit IRC
[21:23:23] *** rossk has quit IRC
[21:23:35] *** iraj has quit IRC
[21:24:02] *** annlewis has quit IRC
[21:24:03] *** Aliks has quit IRC
[21:24:08] *** iraj has joined #angularjs
[21:24:46] *** iraj has quit IRC
[21:25:23] *** iraj has joined #angularjs
[21:25:46] *** fedenunez has quit IRC
[21:26:03] *** iraj has quit IRC
[21:26:07] *** SteenJobs has quit IRC
[21:26:35] *** iraj has joined #angularjs
[21:26:54] *** Aliks has joined #angularjs
[21:27:15] *** iraj has quit IRC
[21:28:00] *** alowaniak has quit IRC
[21:28:05] *** mischat has joined #angularjs
[21:28:34] *** dsteplight______ is now known as dsteplight
[21:28:37] *** Coldblackice has joined #angularjs
[21:28:55] *** SteenJobs has joined #angularjs
[21:30:05] *** rossk has joined #angularjs
[21:30:22] <umdstu> from my experience, they're all required
[21:30:28] *** thatslifeson has joined #angularjs
[21:31:09] *** Aliks has quit IRC
[21:31:12] *** whitebook has joined #angularjs
[21:32:30] *** saysora has quit IRC
[21:32:38] *** jmitchell has quit IRC
[21:34:07] *** sbellina has quit IRC
[21:35:40] *** sbellina has joined #angularjs
[21:36:53] *** tobias47n9e_ has joined #angularjs
[21:37:15] *** uly has quit IRC
[21:38:48] *** uly has joined #angularjs
[21:39:22] *** Mumpsimus has joined #angularjs
[21:39:46] *** mandric has quit IRC
[21:39:59] *** snurfery has joined #angularjs
[21:40:00] *** codeitloadit has joined #angularjs
[21:40:26] *** tobias47n9e__ has quit IRC
[21:40:59] *** san_ has joined #angularjs
[21:41:29] <san_> si
[21:41:52] *** san_ has left #angularjs
[21:43:08] *** austinsk8s has quit IRC
[21:43:59] *** jbourassa has joined #angularjs
[21:44:23] <kegster> well that "pure css" link uses js, no?
[21:45:41] *** dpicky has joined #angularjs
[21:47:42] *** macmod has quit IRC
[21:47:57] *** umdstu has quit IRC
[21:49:05] <SteenJobs> hey guys - has anyone used Parse with Angular before?
[21:50:37] *** w00tner has joined #angularjs
[21:50:43] <w00tner> hello does anyone here uses amcharts ?
[21:50:57] <w00tner> with a directive for angular
[21:51:29] *** annlewis has joined #angularjs
[21:51:45] <kegster> is there a way to animate ng-show / ng-hide?
[21:51:51] *** mandric has joined #angularjs
[21:52:09] <kegster> ahh i think ngAnimate isnt included
[21:53:58] *** whitebook has quit IRC
[21:55:16] *** hackel has joined #angularjs
[21:55:38] *** whitebook has joined #angularjs
[21:57:10] *** siba has joined #angularjs
[21:57:49] *** whiteboo_ has joined #angularjs
[21:58:26] *** iateadonut has quit IRC
[21:58:51] <hackel> I'm using $watchCollection to update search results when a form field changes. This works fine, except for when I need to pre-initialize the form with some data. Then the watch (and thus search query) always gets called twice. I'm initialized the formData object I'm watching *before* adding the $watch (in the route's resolve method), why would this be happening?
[21:59:23] *** iateadonut has joined #angularjs
[21:59:48] *** GroggleWork has quit IRC
[21:59:54] *** jmitchell has joined #angularjs
[21:59:55] *** swordfish has joined #angularjs
[22:00:41] *** cebor has quit IRC
[22:00:46] *** whitebook has quit IRC
[22:00:58] *** asdqwe has joined #angularjs
[22:01:07] *** whitebook has joined #angularjs
[22:01:29] *** cebor has joined #angularjs
[22:01:40] *** mellernoia has quit IRC
[22:01:53] *** Aliks has joined #angularjs
[22:02:00] *** annlewis has quit IRC
[22:02:34] *** whiteboo_ has quit IRC
[22:03:13] *** theblang has joined #angularjs
[22:03:39] *** uNki has quit IRC
[22:04:16] *** iateadonut has quit IRC
[22:04:31] *** codeman has quit IRC
[22:05:26] *** whitebook has quit IRC
[22:07:21] *** cebor has quit IRC
[22:07:32] *** lemur has joined #angularjs
[22:07:34] *** whitebook has joined #angularjs
[22:08:00] *** cebor has joined #angularjs
[22:08:50] *** speaking1ode has joined #angularjs
[22:08:58] *** yky has joined #angularjs
[22:09:22] *** yky is now known as Guest7884
[22:09:23] *** lnrdo has quit IRC
[22:09:30] *** frem has joined #angularjs
[22:10:18] *** speakingcode has quit IRC
[22:10:41] *** drag0niu1 is now known as drag0nius
[22:10:50] *** lnrdo has joined #angularjs
[22:11:00] *** speaking1ode has left #angularjs
[22:11:09] *** Guest7884 has quit IRC
[22:14:22] *** Anton_ has quit IRC
[22:15:46] *** MrBaboon has quit IRC
[22:16:01] *** asdqwe has quit IRC
[22:16:13] *** lnrdo has quit IRC
[22:16:44] *** diegoaguilar has quit IRC
[22:16:57] *** mandric has quit IRC
[22:16:58] *** gladely has joined #angularjs
[22:17:07] *** OnkelTem has quit IRC
[22:17:20] *** gladely has joined #angularjs
[22:17:32] *** OnkelTem has joined #angularjs
[22:17:52] *** s00pcan has quit IRC
[22:17:53] *** whitebook has quit IRC
[22:18:28] *** Anton_ has joined #angularjs
[22:19:40] *** s00pcan has joined #angularjs
[22:19:46] *** sbellina has quit IRC
[22:19:57] *** shemarcl has joined #angularjs
[22:20:42] *** amortimer has joined #angularjs
[22:21:09] *** cebor has quit IRC
[22:21:30] *** shemarcl has quit IRC
[22:21:34] *** edrocks has joined #angularjs
[22:21:46] *** cebor has joined #angularjs
[22:22:14] *** tomphp has joined #angularjs
[22:22:26] *** Ronyrun has quit IRC
[22:23:24] *** swordfish has quit IRC
[22:23:45] *** theverbg has joined #angularjs
[22:24:28] *** Dmitri has joined #angularjs
[22:25:11] *** Codefria_ has joined #angularjs
[22:25:55] *** swordfish has joined #angularjs
[22:26:11] *** saysora has joined #angularjs
[22:26:23] *** SteenJobs has quit IRC
[22:27:10] *** Aliks has quit IRC
[22:28:02] *** SteenJobs has joined #angularjs
[22:28:19] *** Zalabinsky has quit IRC
[22:29:12] *** Dmitri has quit IRC
[22:29:39] *** Codefria_ has quit IRC
[22:29:46] *** TyrfingMjolnir has quit IRC
[22:31:26] *** diegoaguilar has joined #angularjs
[22:31:52] *** conan_the_destro has quit IRC
[22:33:02] *** conan_the_destro has joined #angularjs
[22:33:31] *** sergey has quit IRC
[22:33:34] *** thatslifeson has quit IRC
[22:33:36] *** MrBaboon has joined #angularjs
[22:33:44] *** s00pcan has quit IRC
[22:34:38] *** itamarjp has joined #angularjs
[22:35:12] *** s00pcan has joined #angularjs
[22:35:22] *** sonofdirt has quit IRC
[22:36:04] *** bayousoft has quit IRC
[22:36:47] *** sonofdirt has joined #angularjs
[22:36:52] *** mischat has quit IRC
[22:37:00] *** soee has joined #angularjs
[22:38:04] *** uNki has joined #angularjs
[22:38:15] *** Marble68 has joined #angularjs
[22:39:33] *** Trow has joined #angularjs
[22:39:38] *** Trow_ has joined #angularjs
[22:40:22] *** sonofdir_ has joined #angularjs
[22:41:00] *** davi has quit IRC
[22:41:07] *** TyrfingMjolnir has joined #angularjs
[22:41:21] *** sonofdirt has quit IRC
[22:44:12] *** fedenunez has joined #angularjs
[22:46:08] *** jae is now known as JAe
[22:46:10] *** JAe is now known as Jae
[22:46:29] *** ulkesh has joined #angularjs
[22:47:11] *** swordfis_ has joined #angularjs
[22:47:51] *** bayousoft has joined #angularjs
[22:48:46] *** tiagoboldt has quit IRC
[22:48:53] *** ngbot has joined #angularjs
[22:48:53] <ngbot> [angular.js] matsko pushed 1 new commit to master: http://git.io/vRADz
[22:48:53] <ngbot> angular.js/master de9777d Martin Staffa: fix($animateCss): respect transition styles already on the element...
[22:48:53] *** ngbot has left #angularjs
[22:49:10] <jdo_dk> In jquery i can do: https://dpaste.de/dWvT can i do something similar in angular ? i have created some "links" with: href="#" and they "destroy" my routes.
[22:50:27] *** swordfish has quit IRC
[22:50:31] *** kitcat711_ has quit IRC
[22:51:07] *** johnzorn has quit IRC
[22:51:18] *** Mumpsimus has quit IRC
[22:51:29] *** Es0teric has joined #angularjs
[22:52:51] *** dpicky has quit IRC
[22:53:45] *** elton has joined #angularjs
[22:55:33] *** annlewis has joined #angularjs
[22:58:06] *** elton has quit IRC
[22:58:42] *** diegoaguilar has quit IRC
[22:58:57] *** wrainbolt has joined #angularjs
[22:59:21] *** sonofdir_ has quit IRC
[23:01:45] *** wyu has quit IRC
[23:02:09] *** Trow has quit IRC
[23:02:12] *** zigzagzig has quit IRC
[23:02:48] <wafflejock> jdo_dk: you would use ng-click or if you need custom click handlers write that stuff in a directive
[23:02:57] *** uNki has quit IRC
[23:03:27] *** diegoaguilar has joined #angularjs
[23:03:34] *** sonofdirt has joined #angularjs
[23:03:36] *** codeitloadit has quit IRC
[23:03:45] *** mven_ has joined #angularjs
[23:04:14] <wafflejock> kegster: how'd the animate stuff come along? I've always had issues with ngAnimate (getting the class names and everything right for positioning and whatnot)
[23:04:24] *** jdo_dk has quit IRC
[23:05:01] *** diegoaguilar has quit IRC
[23:05:02] *** jieryn has quit IRC
[23:05:28] *** edrocks has quit IRC
[23:05:35] *** jbourassa has quit IRC
[23:05:41] *** tips101 has joined #angularjs
[23:05:42] *** diegoaguilar has joined #angularjs
[23:06:13] *** saysora has quit IRC
[23:06:34] *** SteenJobs has quit IRC
[23:07:10] *** mven has quit IRC
[23:08:18] *** sonofdirt has quit IRC
[23:08:26] *** theverbg has quit IRC
[23:08:33] *** tiagoboldt has joined #angularjs
[23:08:38] *** L_ has quit IRC
[23:08:52] *** annlewis has quit IRC
[23:10:00] *** ulkesh has quit IRC
[23:10:23] *** mandric has joined #angularjs
[23:10:24] *** sonofdirt has joined #angularjs
[23:11:09] *** jbourassa has joined #angularjs
[23:11:34] *** magellanicloud has joined #angularjs
[23:11:44] *** Aliks has joined #angularjs
[23:11:47] *** Jae has quit IRC
[23:12:46] *** recurrence has joined #angularjs
[23:12:48] *** swordfis_ has quit IRC
[23:13:31] *** egnedko has joined #angularjs
[23:15:29] *** Aliks has quit IRC
[23:16:59] *** compeman_ has quit IRC
[23:17:14] *** compeman has joined #angularjs
[23:17:43] *** edrocks has joined #angularjs
[23:17:57] *** compeman has quit IRC
[23:17:57] *** compeman has joined #angularjs
[23:18:42] <CanyonMan> It's weird that when I specify <input type="file" accept="image/jpeg,image/png" the file chooser defaults to "unknown, jpg image, png image"
[23:18:55] *** jbourassa has left #angularjs
[23:18:58] *** dlam has quit IRC
[23:19:09] <CanyonMan> I have no idea where that 'unknown' is coming from, but this chrome (buidl 47 wahtever the hell that is) does it even if I just put a literal string right into the accept
[23:20:26] *** whitebook has joined #angularjs
[23:21:02] *** Schalla has joined #angularjs
[23:21:02] *** Schalla has joined #angularjs
[23:21:52] *** wrainbolt has quit IRC
[23:22:23] *** prbc has joined #angularjs
[23:22:38] *** magellanicloud has quit IRC
[23:23:28] *** lemur has quit IRC
[23:23:52] *** saysora has joined #angularjs
[23:23:56] *** uNki has joined #angularjs
[23:24:40] *** danielemm has quit IRC
[23:24:41] *** mandric has quit IRC
[23:24:46] *** magellanicloud has joined #angularjs
[23:25:20] *** LeBlaaanc has quit IRC
[23:26:07] *** swordfish has joined #angularjs
[23:26:39] *** sbellina has joined #angularjs
[23:27:26] *** itamarjp has quit IRC
[23:27:38] *** overtime has joined #angularjs
[23:28:44] *** ulkesh has joined #angularjs
[23:28:48] *** Aliks has joined #angularjs
[23:28:59] *** beakman has joined #angularjs
[23:29:37] *** nerdfiles has joined #angularjs
[23:29:48] *** tplaner has quit IRC
[23:30:31] *** nya_ has joined #angularjs
[23:31:32] *** sbellina has quit IRC
[23:32:13] *** Z3R0 has joined #angularjs
[23:34:13] *** spriz is now known as spriz_away
[23:34:39] <wafflejock> CanyonMan: yeah recall some weird crap with accept options when I was doing AS3 work like 4 or 5 years ago apparently that hasn't improved so far as I know
[23:35:15] *** Aliks has quit IRC
[23:35:24] <wafflejock> CanyonMan: on the plus side this broad one works http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_accept
[23:35:45] *** ulkesh has quit IRC
[23:35:51] <wafflejock> CanyonMan: pretty sure I've used that version of accept in some pages too and it allows you to use the camera on Android as the source for the file
[23:35:59] *** whitebook has quit IRC
[23:36:06] *** Letze has quit IRC
[23:36:07] *** ulkesh has joined #angularjs
[23:36:26] *** gweedo767 has quit IRC
[23:36:28] *** beakman has quit IRC
[23:36:30] *** uNki has quit IRC
[23:36:35] *** josuebc has left #angularjs
[23:36:47] *** dulax has quit IRC
[23:36:48] *** ish has quit IRC
[23:36:54] *** softinio has quit IRC
[23:37:23] <Pookz> How do I show meta tags to crawlers if the tags are set in angular?
[23:37:24] *** mandric has joined #angularjs
[23:37:28] <CanyonMan> wafflejock: NEAT!
[23:37:35] <CanyonMan> Select from camera / point at it / click !
[23:37:41] <wafflejock> yah pretty sweet
[23:37:46] *** bluezone_ has quit IRC
[23:37:46] *** andersh has quit IRC
[23:37:46] *** klobucar has quit IRC
[23:37:51] <wafflejock> for all the crappy parts of input that's one win :)
[23:38:00] *** NullSoldier_ has quit IRC
[23:38:07] <CanyonMan> yeah see what you just showed me, I hit choose file and it shows "All Files"
[23:38:09] <CanyonMan> it doesn't restrict to images
[23:38:13] <wafflejock> Pookz: prerender.io
[23:38:18] <CanyonMan> I almost wonder if it's something on my linux ... like a missing mimetypes file or something
[23:38:27] *** venkat_331 has joined #angularjs
[23:38:29] <Pookz> does pretender.io require you to install stuff on the server?
[23:38:30] <wafflejock> CanyonMan: think the browser can just suggest things to the OS
[23:38:33] <Pookz> i have a unique product server setup
[23:38:36] *** tfnico has quit IRC
[23:38:41] <Pookz> s/product/production
[23:38:44] *** LeBlaaanc has joined #angularjs
[23:38:44] <wafflejock> Pookz: it requires some server side redirect for the bots
[23:38:51] *** aendrew has quit IRC
[23:38:59] <wafflejock> Pookz: nothing installed really just nginx or apache config changes
[23:38:59] *** rikkus has quit IRC
[23:39:03] <Pookz> so if im running nginx i just need to add stuff to the config?
[23:39:10] <wafflejock> yup
[23:39:20] <Pookz> cool, that might actually be doable
[23:39:21] *** encryptd_fractal has quit IRC
[23:39:26] *** tombee has quit IRC
[23:39:31] <Pookz> i thought you needed npm on the server and install software
[23:39:52] *** BeerLover has quit IRC
[23:39:52] *** venkat_330 has quit IRC
[23:39:53] *** venkat_331 is now known as venkat_330
[23:40:13] <wafflejock> Pookz: they offer it as SaaS it's free to some limit think 250 pages cached
[23:40:37] <wafflejock> Pookz: if you want to not pay them the $15 a month or whatever for like 10K pages or whatever the crazy limit is then you have to run it somewhere
[23:40:41] *** jpinnix______ has quit IRC
[23:40:43] *** bremnes has quit IRC
[23:40:57] <wafflejock> but could still be some other VPS or something doesn't have to be on the same machine
[23:41:09] <Pookz> i see
[23:42:09] <Pookz> there's no other way to do it?
[23:42:10] <wafflejock> Pookz: ah yeah one other thing checkout window.prerenderReady if you use prerender with angular you may want to trigger it to wait for a while till it has all the data
[23:42:22] *** dpicky has joined #angularjs
[23:42:31] <wafflejock> Pookz: not really any way to guarantee it aside from having a preprocessed copy
[23:42:45] <Pookz> i remember there was a grutn module that created a rendered set of pages for seo purposes
[23:42:56] <Pookz> s/grutn/grunt
[23:43:23] <wafflejock> Pookz: yeah you could run their stuff it's just using phantomjs to execute the page and waiting on an interval till there are no more outstanding requests for some timeout threshold then it saves the page contents
[23:43:45] <wafflejock> or it checks for that prerenderReady flag on window to see if it should keep waiting
[23:43:51] *** Es0teric has quit IRC
[23:43:51] <wafflejock> they have the code for free
[23:44:03] <Pookz> alright ill look into it
[23:44:03] *** Marble68 has quit IRC
[23:44:04] <wafflejock> but you still have to then serve those from somewhere
[23:44:05] <Pookz> thanks
[23:44:08] <wafflejock> np
[23:45:41] *** Aliks has joined #angularjs
[23:45:49] *** lemur has joined #angularjs
[23:46:21] *** prbc has quit IRC
[23:46:31] *** gho5t has joined #angularjs
[23:47:08] *** BeerLover has joined #angularjs
[23:47:13] *** paperElectron has quit IRC
[23:47:44] *** Z3R0 has quit IRC
[23:48:51] <CanyonMan> the cancel behavior is odd too
[23:49:01] *** jmitchell has quit IRC
[23:49:21] <CanyonMan> the first time you cancel, you don't get an onchange at all. If a file has already been selected, it seems to randomly or not call me with event.target.files being empty
[23:49:28] <CanyonMan> So they don't make it easy to figure out why you're being called
[23:49:29] *** dcherman2 has joined #angularjs
[23:49:52] *** Codefria_ has joined #angularjs
[23:51:24] *** AbuDhar has joined #angularjs
[23:52:04] <wafflejock> CanyonMan: yeah that layer between the browser and OS is always a mess, anything to do with file access or clipboard access is janky at best
[23:52:26] *** dcherman has quit IRC
[23:53:05] <wafflejock> CanyonMan: security concerns there are paramount I'm sure but it's also just buggy in my experience too
[23:53:10] *** diosney has quit IRC
[23:54:02] <BahamutWC|Work> copying in the browser is awful
[23:54:09] *** mven_ has quit IRC
[23:54:26] <BahamutWC|Work> also file drag and drop is a crappy problem...the browser needs to support the File API
[23:54:29] *** mven has joined #angularjs
[23:54:43] *** elton has joined #angularjs
[23:56:05] *** walden is now known as walden|afk
[23:56:18] *** c00ljs has quit IRC
[23:57:22] *** bayousoft has quit IRC
[23:57:44] *** FFKangoroo has quit IRC
[23:58:54] *** regedit_ has joined #angularjs
[23:59:06] *** fcanela has joined #angularjs
[23:59:06] *** fcanela has joined #angularjs
[23:59:18] *** elton has quit IRC
[23:59:36] *** dpicky has quit IRC
[23:59:43] *** italoacasas has quit IRC
top

   December 9, 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 | >