Switch to DuckDuckGo Search
   December 23, 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:25] *** virt has joined #angularjs
[00:00:43] *** FIFOd has joined #angularjs
[00:00:50] *** virt is now known as Guest18001
[00:02:10] *** virt- has quit IRC
[00:02:30] *** yky_ has quit IRC
[00:02:42] <cc0_1> ginyabc: can you get a non-templated version working?
[00:03:00] *** Guest18001 has quit IRC
[00:03:24] *** virtzZz has joined #angularjs
[00:03:53] *** virtzZz has quit IRC
[00:04:32] *** baweaver has quit IRC
[00:04:42] *** mary5030 has quit IRC
[00:05:08] *** delgiudices has joined #angularjs
[00:05:54] *** step1step2 has quit IRC
[00:06:11] *** virtzZz has joined #angularjs
[00:06:30] *** sakustar has quit IRC
[00:06:37] *** sakustar has joined #angularjs
[00:06:48] *** virtzZz has quit IRC
[00:07:28] *** iceball has quit IRC
[00:07:53] *** sakustar has quit IRC
[00:08:36] *** junmin has joined #angularjs
[00:08:46] *** austinsk8s has quit IRC
[00:10:32] *** bcSquared- is now known as bcSquared
[00:10:44] *** step1step2 has joined #angularjs
[00:11:00] *** bradjones has quit IRC
[00:11:40] *** sakustar has joined #angularjs
[00:11:53] *** step1step2 has quit IRC
[00:12:23] *** virtzZz has joined #angularjs
[00:12:32] *** italoacasas has joined #angularjs
[00:13:21] *** bradjones has joined #angularjs
[00:13:22] *** bradjones has joined #angularjs
[00:13:27] *** Aliks has joined #angularjs
[00:13:29] *** Guest83 has quit IRC
[00:14:09] *** lmatteis has joined #angularjs
[00:14:09] *** italoacasas has quit IRC
[00:14:53] *** mven has joined #angularjs
[00:15:15] *** FIFOd has quit IRC
[00:17:11] *** Ir1sh has joined #angularjs
[00:17:23] *** zigzag has joined #angularjs
[00:17:23] *** cotko has quit IRC
[00:17:26] *** delgiudices has quit IRC
[00:17:52] *** italoacasas has joined #angularjs
[00:17:55] *** heyts has quit IRC
[00:17:58] *** c1v0 has quit IRC
[00:18:51] *** italoacasas has quit IRC
[00:19:35] *** italoacasas has joined #angularjs
[00:22:21] *** Ir1sh has quit IRC
[00:23:31] *** zigzag has quit IRC
[00:24:07] *** bcSquared has quit IRC
[00:24:15] *** italoacasas has quit IRC
[00:25:29] *** delgiudices has joined #angularjs
[00:26:22] *** italoacasas has joined #angularjs
[00:26:42] *** ledge has quit IRC
[00:26:43] *** iateadonut has joined #angularjs
[00:26:49] *** postsneakernet has quit IRC
[00:27:03] *** sctskw has quit IRC
[00:27:05] *** italoacasas has quit IRC
[00:27:53] *** italoacasas has joined #angularjs
[00:28:37] *** francis_ has joined #angularjs
[00:29:31] *** step1step2 has joined #angularjs
[00:31:17] *** francis_ has quit IRC
[00:33:46] *** greengriminal has quit IRC
[00:34:25] *** ginyabc has quit IRC
[00:36:24] *** Sky[x] has joined #angularjs
[00:37:16] *** syzygy_ has joined #angularjs
[00:38:03] *** bayousoft has joined #angularjs
[00:39:03] *** sbasso has quit IRC
[00:39:26] *** clivejo has quit IRC
[00:39:35] *** Marble68 has quit IRC
[00:39:55] *** bug-farmer has joined #angularjs
[00:40:44] <bug-farmer> Hi, I have a general javascript question that's more about bootstrap than angular, but there's no bootstrap channel
[00:41:23] *** Guest83 has joined #angularjs
[00:41:45] <bug-farmer> Anyways, I went around and found a somewhat similar question, but I modified it to make it suit the problem I'm dealing with:
[00:41:47] <bug-farmer> https://jsfiddle.net/7zycxdox
[00:42:19] <bug-farmer> I have a left and right division provided by bootstrap's col-sm
[00:42:25] <bug-farmer> I want both divisions to be scrollable
[00:42:41] <bug-farmer> but the left division has a part that I want to be visible in the other divisions
[00:42:55] <bug-farmer> only way I managed to do that was using position:fixed, but I prefer a better solution
[00:43:02] <Lowell> ##bootstrap
[00:43:50] <Lowell> or
[00:43:53] <Lowell> #css
[00:44:12] <Lowell> the #css channel has a lot of activity
[00:44:21] <bug-farmer> alright, thanks
[00:46:59] *** regedit has quit IRC
[00:47:11] *** delgiudices has quit IRC
[00:47:35] *** k-joseph_ has quit IRC
[00:48:15] *** ahhhndi has quit IRC
[00:49:14] *** delgiudices has joined #angularjs
[00:50:15] *** Aliks has quit IRC
[00:50:42] *** kuadrosx has quit IRC
[00:53:41] *** postsneakernet has joined #angularjs
[00:53:47] *** siea is now known as sib3k
[00:53:51] *** Sky[x] has quit IRC
[00:54:05] *** Aliks has joined #angularjs
[00:54:05] *** delgiudices has quit IRC
[00:54:51] *** schuranator has joined #angularjs
[00:55:07] <schuranator> Is there a directive or module to convert UTC time to current user time
[00:57:23] *** rarely has joined #angularjs
[00:57:45] *** rarely has quit IRC
[01:03:25] <crised> wafflejock: yes..
[01:03:32] *** CAPITANOOO has joined #angularjs
[01:03:40] <crised> there are a lot of resources to learn, I'm looking for intensive DOM manipulation
[01:04:16] <crised> wafflejock: I guess I would be needing to read advanced AngularJS
[01:04:40] *** doginal has joined #angularjs
[01:05:18] *** CAPITANOOO has quit IRC
[01:07:14] *** sib3k is now known as siba
[01:08:37] *** bayousoft has quit IRC
[01:08:38] <romanovic> schuranator: We've had success with Moment.js, which provides just about all the timezone conversion and time calculations you could ever need
[01:09:35] <romanovic> we used the library by itself, but it looks like there are angular wrappers out there too, like angular-moment https://github.com/urish/angular-moment
[01:10:40] *** Pookz has quit IRC
[01:11:17] *** atomicb0mb has joined #angularjs
[01:11:34] *** p0k0 has joined #angularjs
[01:12:40] *** conan_the_destro has quit IRC
[01:12:58] *** conan_the_destro has joined #angularjs
[01:13:20] *** atomicb0mb has quit IRC
[01:13:31] *** sssilver has quit IRC
[01:14:00] <wafflejock> crised: dom manipulation isn't really an angular specific task you would handle it all in directives but aside from that it's just a matter of knowing what is available from the browser https://developer.mozilla.org/en-US/docs/Web/API MDN is a great resource for reference
[01:14:29] <wafflejock> crised: can see a directive that just outputs the order of execution of the functions for a directive definiton here http://plnkr.co/edit/N53RbNc21Nk0w5RswqSA?p=preview
[01:14:52] *** u0m3 has quit IRC
[01:15:18] *** mary5030 has joined #angularjs
[01:15:32] <wafflejock> schuranator: second romanovic using momentjs is typically the best way to go, can write custom filters or otherwise just use it in your JS where needed
[01:15:42] *** dpicky has joined #angularjs
[01:15:44] <crised> wafflejock: let's start again... here is my question reprashed, I'm going to be tested for DOM manipulation, have to choose a javascript tool to do this
[01:15:56] <crised> wafflejock: 1. is angularjs a good choice?
[01:16:07] *** encryptd_fractal has quit IRC
[01:16:44] *** encryptd_fractal has joined #angularjs
[01:17:02] <wafflejock> crised: angular itself is really focused on giving a clear separation of the view the view-model and the controllers, it gives you data binding and lots of built in directives that manipulate the DOM for you, it also gives you dependency injection to make your code structure cleaner and take advantage of IoC
[01:17:26] <crised> IoC?
[01:17:31] <wafflejock> crised: using custom directives gives you a place to write any DOM manipulation code but it's going to be either raw JS or jQuery (ideally the former if you ask me :) )
[01:17:35] <wafflejock> inversion of control
[01:17:51] <wafflejock> crised: dependencies are instantiated by the framework and injected where needed
[01:18:01] *** vandyk has joined #angularjs
[01:18:03] <crised> wafflejock: oh, yes I remember something...
[01:18:06] <wafflejock> as opposed to each function calling out to some objects or creating their own instances
[01:18:09] *** tobias47n9e_ has joined #angularjs
[01:18:10] *** italoacasas has quit IRC
[01:18:29] <crised> wafflejock: so it might be best to do this with plain JS or Jquery, instead of angularjs?
[01:18:33] <crised> What's your opinion?
[01:19:02] *** yky_ has joined #angularjs
[01:19:24] <wafflejock> crised: well if the goal is just to show that you understand the DOM and how to do DOM manipulation would just look at the raw JS, angular is great for applying that knowledge and creating clean decoupled apps where the parts like the services/controllers can be tested without a view associated with them
[01:20:05] <crised> wafflejock: oh ok...
[01:20:09] <crised> wafflejock: no jquery?
[01:20:18] *** mary5030 has quit IRC
[01:20:21] <crised> JS might be more powerful alone, right?
[01:20:41] *** speeddragon has quit IRC
[01:20:44] <wafflejock> so would say you can learn about manipulating the DOM alongside angular but not necessary, wouldn't recommend jQuery as it doesn't work out well in large apps to have things manipulating the DOM all over the place without any structure around it
[01:20:52] *** skcin7 has joined #angularjs
[01:21:15] *** doginal has quit IRC
[01:21:22] <wafflejock> jQuery is just an abstraction/library of JS to make it a bit easier to deal with discrepancies between browsers and give you some convenience things like $.ajax instead of using the underlying XMLHttpObject from the browser but better to know the underlying parts IMO
[01:21:24] *** speeddragon has joined #angularjs
[01:21:30] *** encryptd_fractal has quit IRC
[01:21:36] <romanovic> crised: plain vanilla JS is a good way to learn how to manipulate the DOM, to understand how JS libraries are working. And modern browsers have evolved enough that jQuery has lost a lot of the advantages it once had. vanilla JS will increase performance in most cases
[01:21:37] <crised> wafflejock: sounds very reasonable
[01:21:49] <crised> romanovic: cool
[01:21:59] *** tobias47n9e__ has quit IRC
[01:22:03] <crised> romanovic: which is a good resource to learn vanilla JS focused on DOM manipulation?
[01:22:53] *** skcin7 has quit IRC
[01:23:49] *** heyts has joined #angularjs
[01:24:42] *** yky_ has quit IRC
[01:27:13] *** dpicky has quit IRC
[01:27:35] *** wontoner has joined #angularjs
[01:27:52] *** dpicky has joined #angularjs
[01:28:02] *** heyts has quit IRC
[01:28:10] <romanovic> crised: I learned a piece at a time on the job, so I don't have a specific resource on the top of my head. but there are articles that give an overview of DOM manipulation tasks and how to do them with vanilla JS, like http://youmightnotneedjquery.com
[01:28:16] <wafflejock> crised: think codeacademy is a nice primer on JS itself, have heard good things about codeschool too, particularly their angular course though (either that or travel back to the 90s and learn HTML/JS from looking at the source on other sites and learn DHTML and VRML like I did since those technologies panned out so well :))
[01:29:13] <wafflejock> crised: personally find that I learn best by doing, so good if you just find yourself a project and learn to solve the problems by using the MDN or whatever you can find on SO to pick up the pieces you need to solve the problem
[01:29:52] <crised> wafflejock: I guess I need websites that propose a problem, and ask for a solution, like project euler
[01:30:51] <wafflejock> crised: yeah could always peruse SO for questions that give you something to work on but not sure what tag you'd want for JS DOM stuff in particular
[01:31:06] *** yky_ has joined #angularjs
[01:31:19] <wafflejock> or could find some open source project that has issues and see if you can contribute in some way that challenges your knowledge of the DOM
[01:31:32] <crised> wafflejock: are you familiar with project euler?
[01:31:46] <wafflejock> crised: in the angular world there is ui-bootstrap and angular-material that are UI modules basically
[01:31:49] <wafflejock> yup
[01:31:49] *** vaddix has quit IRC
[01:31:50] <wafflejock> seen it
[01:32:13] <crised> wafflejock: that serve as a good trainer for back end languages
[01:32:31] <crised> wafflejock: is there such thing for DOM manipulation?
[01:32:49] <wafflejock> crised: nothing I'm aware of... codewars has challenges but again not DOM specific typically
[01:33:12] *** fedenunez has joined #angularjs
[01:33:21] *** skcin7 has joined #angularjs
[01:33:24] <wafflejock> JS is an option but lots of challenges I've seen focus on things like using .map or .filter on arrays in JS as opposed to build some interface
[01:33:36] *** fedenunez has quit IRC
[01:33:43] *** fedenunez has joined #angularjs
[01:33:49] <soee> how do you guys prefere to handle notifications after record create/delete/update ? Return message from server with response or generate it on client side ?
[01:33:51] <wafflejock> TODO MVC is one of the only things I've seen where it's focused a lot on the graphics/dom manipulation
[01:33:55] *** fedenunez has quit IRC
[01:34:01] *** fedenunez1 has joined #angularjs
[01:34:29] <wafflejock> but not really a challenge just a bunch of samples
[01:34:29] *** fedenunez1 has quit IRC
[01:34:34] *** fedenunez has joined #angularjs
[01:34:36] <crised> wafflejock: did not get the last part... TODO MVC?
[01:34:44] <wafflejock> https://material.angularjs.org/latest/
[01:34:46] <wafflejock> oops
[01:34:49] <wafflejock> http://todomvc.com/
[01:34:57] *** sentinal8473 has joined #angularjs
[01:35:02] *** fedenunez has quit IRC
[01:35:08] *** fedenunez has joined #angularjs
[01:35:14] <wafflejock> crised: just shows various frameworks and how they accomplish the simple "todo" list application
[01:35:36] *** skcin7 has quit IRC
[01:35:45] *** fedenunez has quit IRC
[01:35:51] *** fedenunez1 has joined #angularjs
[01:36:00] <crised> wafflejock: great ida
[01:36:18] *** fedenunez1 has quit IRC
[01:36:21] *** fedenunez has joined #angularjs
[01:36:55] *** fedenunez1 has joined #angularjs
[01:36:56] *** fedenunez has quit IRC
[01:37:15] *** yky_ has quit IRC
[01:37:24] *** fedenunez1 has quit IRC
[01:37:29] *** fedenunez has joined #angularjs
[01:38:00] <crised> wafflejock: thanks a lot man
[01:38:01] *** fedenunez has quit IRC
[01:38:03] *** fedenunez1 has joined #angularjs
[01:38:11] <crised> I'll chew this out a little
[01:38:12] *** doodlehaus has joined #angularjs
[01:38:39] *** fedenunez1 has quit IRC
[01:38:41] <wafflejock> crised: np good luck can always let us know if you run into problems too usually someone around here to offer some advice/opinions
[01:38:55] <crised> wafflejock: awesome dude
[01:38:58] <crised> thanks
[01:39:24] *** icfantv has quit IRC
[01:40:03] <crised> wafflejock: http://www.toptal.com/javascript/interview-questions
[01:40:40] *** dpicky has quit IRC
[01:40:55] <ziro`> JSPM promised to take away my build pain then angular2 gave me it back: https://github.com/angular/angular/issues/5304
[01:41:16] <wafflejock> crised: ah yeah I applied with them once a few months back, totally bombed on the test though, it wasn't about DOM stuff for me there though was all CS like questions (brought me back to the school days)
[01:41:18] *** dpicky has joined #angularjs
[01:41:45] <wafflejock> crised: the test questions are all scoped in terms of asymptotic analysis big-O time and memory requirements, was tough
[01:41:56] <crised> wafflejock: just failed that one
[01:42:02] <ziro`> Has anyone managed to come up with a painless build strategy for front end apps?
[01:42:14] <crised> wafflejock: yes, but they have a chance to enter as a front end developer
[01:42:30] <crised> wafflejock: did you pass the test?
[01:42:34] <wafflejock> crised: hmm maybe should look again, almost too much going on right now though as is
[01:42:57] <wafflejock> crised: nope failed to get a passing grade, don't remember what I got exactly
[01:43:33] <wafflejock> wasn't in the proper mindset to think about big O stuff, it threw me off
[01:43:59] <crised> wafflejock: you did codility?
[01:44:05] <wafflejock> nope never done that
[01:44:49] <crised> wafflejock: could you rephrase this: (21:42:34) wafflejock: crised: hmm maybe should look again, almost too much going on right now though as is
[01:44:56] *** doodlehaus has quit IRC
[01:45:26] *** dpicky has quit IRC
[01:46:07] *** skcin7 has joined #angularjs
[01:46:07] *** ctanga has joined #angularjs
[01:46:30] <wafflejock> crised: oh just saying if they're looking for front end people now could try to go through their test process again, but lots of work as is right now, have a small business and we just landed a few contracts so at this moment no real time to get into other work (at least not without finding more people who are competent)
[01:46:34] *** iraj_ has joined #angularjs
[01:46:48] <soee> what would be teh best way to change some app configuration when route/state changes (like setting different colors for some template parts etc.) ?
[01:46:57] <crised> wafflejock: oh yes, totally understandable
[01:47:35] *** boneskull is now known as boneskull[away]
[01:48:46] *** gambl0re has joined #angularjs
[01:48:52] *** iraj has quit IRC
[01:49:21] *** crised has quit IRC
[01:52:48] *** Poeticode has joined #angularjs
[01:53:08] *** greatdex has joined #angularjs
[01:53:14] *** dopesong has quit IRC
[01:53:34] *** mandric has quit IRC
[01:53:40] *** sobol has quit IRC
[01:54:04] *** italoacasas has joined #angularjs
[01:57:15] *** KAsp3rd has quit IRC
[01:57:28] *** dex has joined #angularjs
[01:57:29] *** greatdex has quit IRC
[01:57:52] *** dex is now known as Guest79287
[01:58:41] *** Ruzzy has joined #angularjs
[01:58:48] <Ruzzy> hay m8s
[01:59:46] <soee> hiho
[02:00:27] *** KAsp3rd has joined #angularjs
[02:01:21] *** conan_the_destro has quit IRC
[02:02:02] *** ico_ has quit IRC
[02:02:36] *** ico has joined #angularjs
[02:02:44] *** skcin7 has quit IRC
[02:03:10] *** Aliks has quit IRC
[02:03:12] *** ch3mical has quit IRC
[02:04:23] *** webguynow has quit IRC
[02:05:13] *** webguynow has joined #angularjs
[02:05:28] *** kyberplayer has joined #angularjs
[02:05:55] *** cocao1 has joined #angularjs
[02:06:56] *** ico has quit IRC
[02:09:39] <wafflejock> soee: personally would probably have a service that keeps track of some data that's used to then apply ng-class or ng-style rules to some elements when some part of the model is toggled
[02:09:57] <wafflejock> soee: it's possible to dynamically load in entirely new stylesheets as well but takes some hacking around
[02:11:25] *** sentinal8473 has quit IRC
[02:11:54] *** developer has joined #angularjs
[02:11:59] *** beakman has quit IRC
[02:12:08] <wafflejock> soee: regarding the notifications to the user typically I do that stuff in the client code though I may use some message from the server depending on the scenario, handling it in the client keeps it more flexible though if you want to show different messages in different places depending on the use case for the web service
[02:12:15] <developer> hey guys i nee to do a log in form in angular does anyone can help me ?
[02:14:12] <wafflejock> !help developer if you have a specific issue show what you're trying in plnkr and what the expectation is vs what happens
[02:14:12] <angularjs_bot> AngularJS Plunker template http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS
[02:14:16] *** batch4225 has quit IRC
[02:14:32] *** schneider has joined #angularjs
[02:14:44] <wafflejock> !learn | developer if you need general info on using angular see the github repo below
[02:14:44] <angularjs_bot> Read up on the angularjs.org developer guide https://docs.angularjs.org/guide as a high level overview, for tutorials and whatnot can see the big ol' list here https://github.com/jmcunningham/AngularJS-Learning if you have specific questions can use plnkr to share your code, see the /topic or http://plnkr.co/edit/tpl:nKLNBdve51sqOoKZAOUS
[02:16:20] *** schneider has quit IRC
[02:16:42] *** developer has quit IRC
[02:18:38] *** Ir1sh has joined #angularjs
[02:18:39] <Ruzzy> I have a single page app with a django backend
[02:18:59] <Ruzzy> I want to make a select element in my SPA for a foreign key relations
[02:19:20] <Ruzzy> I'm thinking that when the form loads, make an ajax request for all objects in the model, along with their primary keys
[02:19:27] <soee> wafflejock: i think loading different css is to much here, i need atm. change top panel backgornd color for some states
[02:19:35] <Ruzzy> and then populate the select box with the elements in the response
[02:19:42] <Ruzzy> do I have the right idea or is it overkill?
[02:19:50] <Ruzzy> I'm not finding a lot online about it
[02:20:21] *** diegoaguilar has quit IRC
[02:20:40] <wafflejock> soee: yeah ng-class or ng-style should work fine there then along with a .service or even just a .value that gets injected/shared a few places where it needs to be used for the ng-class and where it needs to be modified in whatever states (maybe in a resolve or controller on the state config)
[02:22:29] *** cocao1 has quit IRC
[02:23:33] *** leolrrj has quit IRC
[02:23:50] *** Ir1sh has quit IRC
[02:24:03] *** syzygy_ has quit IRC
[02:24:04] <wafflejock> Ruzzy: sounds like it should work fine can use ng-options for populating a select or ng-repeat on the options tag in a select tag
[02:24:51] *** jonno11 has joined #angularjs
[02:24:55] <Ruzzy> wafflejock: is my idea the widespread way of doing it though or am I overthinking it?
[02:25:29] <wafflejock> Ruzzy: eh sounds pretty typical just fetching some data from the backend to populate a select, it's nothing to extravagant from the sounds of it
[02:25:38] <wafflejock> too*
[02:25:51] *** bicranial has quit IRC
[02:26:57] *** virtzZz is now known as virt
[02:27:20] *** virt is now known as virt-
[02:28:20] *** swordfish has quit IRC
[02:28:46] *** kyberplayer has quit IRC
[02:30:46] *** rchavik has joined #angularjs
[02:30:48] <kirobaito> finding that my app state management code is a horrible mess. Has anybody has any luck with using things like Redux in angular? any general advice on state management?
[02:31:39] <soee> someone her eusing ngResource an have experiance with putting it in a service that handles also errors ?
[02:31:59] *** hex` has quit IRC
[02:33:20] <wafflejock> kirobaito: John Papa's style guide suggests splitting the state config across modules, personally I find this to be too much jumping around to figure out what's going and I've never had the scenario where I can literally just pull a full module with it's state config out and drop it in another project on so I just have a states.js file that has all my state config in it, no experience with Redux though
[02:33:50] <wafflejock> soee: I use it a fair amount what's the issue in particular?
[02:34:18] <ycon_> Hi all, I'm still stuck on this _basic_ problem- Im trying to stringify some data for my http post. Im confused at line 27. Is that where it is happenning? http://dpaste.com/3NPJTTD
[02:34:52] <soee> wafflejock: is it possible to have some base service that other services extends, and in this base service catchand handle errors from response ?
[02:35:21] *** mellernoia has quit IRC
[02:35:32] <wafflejock> soee: well you can use the httpInterceptor configuration to catch all errors and do something with them
[02:35:54] <wafflejock> soee: if you use the interceptors be sure you return some object from them or throw an error so any handlers down the line can still deal with them
[02:36:46] <soee> wafflejock: doyou create separte service for each model/resource you use in app and this service just return resource instance ?
[02:37:06] *** phrozensilver has quit IRC
[02:38:02] *** Ruzzy has quit IRC
[02:38:10] <wafflejock> soee: yeah to the separate services (though not entirely necessary if you check out that jelbourne link, never went with that kind of single service architecture myself though), my services typically have the resource instance internally and just expose other functions for things outside the service to use and have the data from the $resource stored in there (not always but usually)
[02:38:19] *** prbc has quit IRC
[02:38:29] <wafflejock> referring to this link https://gist.github.com/jelbourn/6276338
[02:39:26] *** Schalla has quit IRC
[02:39:32] <soee> wafflejock: i used this appropach from the link in previous project, now i wud like to try something different
[02:39:48] <soee> like uing just separate services to deal with resources
[02:39:59] <soee> wafflejock: do you cache data in such services somehow ?
[02:40:10] <wafflejock> soee: yeah that's typically how I do it, a bit more verbose but I like that things are clearly separated
[02:40:12] <wafflejock> yah
[02:40:34] <wafflejock> typically have a data array that I keep the info in and check if the promise for getting data is already available and if so return it to anything that tried getting data again
[02:41:08] <soee> and how do you update this data when you add new record ?
[02:41:40] <wafflejock> soee: will typically just post the data to the server and the service will call get again after the new data is posted (could be more efficient about this but it's the simpler approach)
[02:42:50] *** ctanga has quit IRC
[02:43:13] <soee> wafflejock: and in controller you operate on FooService.$save() etc. ?
[02:43:25] *** Ruzzy has joined #angularjs
[02:43:27] <soee> so the $ functions resource instance offers ?
[02:44:19] *** jonno11 has quit IRC
[02:44:23] *** iraj_ has quit IRC
[02:44:34] <wafflejock> soee: it depends on if I want the service to be able to handle errors but in some cases I'm using $save right in the view if I'm not concerned with anything but generic error handling otherwise I might have a function on the service that will make the call to $save so it can do some extra error handling there
[02:45:20] <soee> wafflejock: so you prefere to define in such service custom function for query, update, delete ?
[02:45:22] *** bug-farmer has quit IRC
[02:45:35] <soee> and they just use $resource functions ?
[02:46:22] <wafflejock> soee: not always but usually I at least have them for the query part so I can handle using cached data myself, $cacheFactory or just using some built in stuff might be an option but sort of prefer to control some of that
[02:46:54] <wafflejock> soee: and yah they just consequently use the $resource functions
[02:47:03] <soee> wafflejock: may i ask about one more thing ? :)
[02:47:08] <wafflejock> sure shoot
[02:47:36] <soee> i need to handle errors in form form server side validation, i found this thing: http://codetunes.com/2013/server-form-validation-with-angular/
[02:47:43] <gambl0re> anyone have expeience with either axion or superagent?
[02:47:45] <soee> do you know any better apprach ?
[02:48:07] <soee> i just need to show validation errors and highlight fileds (using twitter bootstrap styles)
[02:48:46] <wafflejock> think that article is generally getting at this https://docs.angularjs.org/api/ng/type/ngModel.NgModelController#$asyncValidators
[02:49:27] <wafflejock> probably didn't exist when the article was written but should work (can't say I've used this really)
[02:50:15] *** rchodava has quit IRC
[02:51:06] *** nerdfiles has quit IRC
[02:53:57] *** marr has quit IRC
[02:56:56] *** DV8_ has quit IRC
[02:57:17] <soee> wafflejock: one more thing, your services return resource instance or just json data ?
[02:59:53] <wafflejock> soee: sort of a mix I guess typically the "data" in the service is the result from a call to a $resource .query so they are Resource objects but not the main $resource object that I just keep internal in the services
[02:59:54] *** fedenunez has joined #angularjs
[03:00:18] *** reduce_ has joined #angularjs
[03:00:28] *** Zamerick_ has quit IRC
[03:00:38] <reduce_> hey guys
[03:00:42] *** {DV8} has joined #angularjs
[03:00:47] <soee> wafflejock: ok, thank you very much for your time and help
[03:00:52] <soee> hi reduce_
[03:00:53] <wafflejock> soee: no prob
[03:02:27] <reduce_> do you think theres anything inherintly wrong with sometimes making a service that has a "factory" fucntion on it - ie a fucntion that returns another object which has properties and and fucntions that a consumer can set and call such that not all consumers share state?
[03:02:37] <reduce_> ie turning a service into a sort of factory?
[03:02:44] <soee> anyone here have experiany with mixing a bit SPA and some pages without instantiating angular app, or having it but not resolving any routes ?
[03:02:46] <reduce_> as opposed to singleton?
[03:03:20] *** codeitloadit has quit IRC
[03:03:33] <soee> well i try to keep my services simple and give them single responsibiity
[03:04:09] <soee> but they can use some shared utility services - though nothing complex
[03:04:35] *** atomicb0mb has joined #angularjs
[03:04:50] <reduce_> i guess im talking about those cases when you would prefer that everyone who injects the servcie gets a copy to themselves
[03:05:13] <reduce_> so if consumer a sets some state, consumer b doesnt see that state
[03:05:22] *** tristanp_ has quit IRC
[03:06:45] *** one_zero has joined #angularjs
[03:07:43] *** atomicb0mb has quit IRC
[03:08:53] *** drej has quit IRC
[03:09:41] *** joelwallis has quit IRC
[03:11:49] *** kkllkkl has joined #angularjs
[03:12:04] *** kkllkkl has quit IRC
[03:12:19] *** fedenunez has quit IRC
[03:12:50] *** zigzagzig has joined #angularjs
[03:13:06] *** kirobaito has quit IRC
[03:13:15] *** fedenunez has joined #angularjs
[03:13:40] *** Slizz3r has joined #angularjs
[03:14:21] *** owenjones has joined #angularjs
[03:14:54] *** batch4225 has joined #angularjs
[03:17:05] *** b0x has joined #angularjs
[03:17:15] *** zigzagzig has quit IRC
[03:17:55] *** Slizz3r has quit IRC
[03:19:02] *** batch4225 has quit IRC
[03:21:32] <reduce_> wtf airpair - i have to sign in with github to see code snippits, and you will refuse me if im not posting my name publically
[03:22:32] *** p0k0 has quit IRC
[03:23:41] *** rickmak has joined #angularjs
[03:24:46] *** speeddragon has quit IRC
[03:25:35] *** speeddragon has joined #angularjs
[03:26:56] *** burzum2 has joined #angularjs
[03:28:34] *** burzum has quit IRC
[03:28:35] *** Razerglass has joined #angularjs
[03:34:31] *** drej has joined #angularjs
[03:34:34] *** cocao has quit IRC
[03:35:22] <ycon_> Hi, made progress http $post. Stringify is where Ive stuff up I think. What have I done wrong? http://dpaste.com/1FMBVDR
[03:35:49] *** mike_ has joined #angularjs
[03:36:13] *** mike_ is now known as Guest20918
[03:36:36] <Guest20918> :-)
[03:36:49] *** maximski has quit IRC
[03:37:12] *** junmin has quit IRC
[03:37:34] *** Bloomer has joined #angularjs
[03:40:04] *** Guest20918 has quit IRC
[03:41:00] *** regedit has joined #angularjs
[03:41:23] <ycon_> right, I fixed it up. just syntax. Now I'm have the issue "for preflight is invalid (redirect)"
[03:43:11] *** Aliks has joined #angularjs
[03:43:35] *** fedenunez has quit IRC
[03:45:34] *** Aliks has quit IRC
[03:46:24] <ycon_> I dont think its server side, doing the request.post in python (my native tongue) and it is working...
[03:47:58] <ycon_> Here's what I'm trying to post: http://dpaste.com/01DY2BY
[03:55:49] *** marcules has joined #angularjs
[03:59:24] *** moep has quit IRC
[04:03:17] <ycon_> Must be CORS. Here is my server cors setup- what am I missing? http://dpaste.com/1MFG0NP
[04:03:54] *** fedenunez has joined #angularjs
[04:06:37] *** p0k0 has joined #angularjs
[04:07:34] *** speeddragon has quit IRC
[04:08:23] *** DoubleAW has quit IRC
[04:09:41] *** quakephil has quit IRC
[04:10:47] *** tristanp has joined #angularjs
[04:13:07] *** DoubleAW has joined #angularjs
[04:13:15] *** syzygy_ has joined #angularjs
[04:14:23] *** hackel has quit IRC
[04:16:53] *** Jardayn has quit IRC
[04:18:00] *** owenjones has quit IRC
[04:20:33] *** Ir1sh has joined #angularjs
[04:22:24] *** realz-is-gone is now known as realz
[04:24:28] *** tristanp has quit IRC
[04:24:53] *** Ir1sh has quit IRC
[04:26:38] *** tristanp has joined #angularjs
[04:29:23] *** doginal has joined #angularjs
[04:29:35] *** fscala has quit IRC
[04:30:12] *** fscala has joined #angularjs
[04:30:31] *** ESpiney has joined #angularjs
[04:30:33] *** prbc has joined #angularjs
[04:32:37] *** dman777_alter has joined #angularjs
[04:33:56] *** Razerglass has quit IRC
[04:34:27] *** phrozensilver has joined #angularjs
[04:35:07] *** tristanp has quit IRC
[04:36:07] *** tristanp has joined #angularjs
[04:39:19] *** osdiab has joined #angularjs
[04:40:55] *** phrozensilver has quit IRC
[04:50:55] *** Guest79287 has quit IRC
[04:52:39] *** ringzer0 has joined #angularjs
[04:56:20] *** icfantv has joined #angularjs
[04:57:15] *** tristanp has quit IRC
[04:58:26] *** Ir1sh has joined #angularjs
[04:58:41] *** ESpiney has quit IRC
[04:59:20] *** vader699 has quit IRC
[05:00:10] *** charuru has quit IRC
[05:01:20] *** rho has quit IRC
[05:02:05] *** Ir1sh has quit IRC
[05:02:25] *** dman777_alter has quit IRC
[05:02:26] *** junmin has joined #angularjs
[05:03:16] *** Poeticode has quit IRC
[05:03:24] *** Dmitri has joined #angularjs
[05:04:31] *** junmin has quit IRC
[05:04:33] *** italoacasas has quit IRC
[05:04:38] *** junmin_ has joined #angularjs
[05:06:21] *** syzygy_ has quit IRC
[05:06:46] *** syzygy_ has joined #angularjs
[05:08:30] *** speeddragon has joined #angularjs
[05:08:35] *** Dmitri has quit IRC
[05:08:35] *** boneskull[away] is now known as boneskull
[05:08:56] *** boneskull is now known as boneskull[away]
[05:09:00] *** siba has quit IRC
[05:09:22] *** Bloomer has quit IRC
[05:09:58] *** knownasilya has quit IRC
[05:10:24] *** speeddragon has quit IRC
[05:10:32] *** speeddragon has joined #angularjs
[05:11:15] *** zz_dimtruck is now known as dimtruck
[05:11:31] *** kp666 has joined #angularjs
[05:11:47] *** speeddragon has quit IRC
[05:12:24] *** bisch has quit IRC
[05:12:55] *** bisch has joined #angularjs
[05:13:51] *** KAsp3rd has quit IRC
[05:14:02] *** speeddragon has joined #angularjs
[05:14:23] *** rickmak has quit IRC
[05:15:30] *** speeddragon has quit IRC
[05:15:41] *** siba has joined #angularjs
[05:15:49] *** speeddragon has joined #angularjs
[05:15:54] *** junmin_ has quit IRC
[05:16:20] *** rickmak_ has joined #angularjs
[05:16:54] *** LeBlaaanc has quit IRC
[05:17:09] *** speeddragon has quit IRC
[05:17:53] *** junmin has joined #angularjs
[05:18:34] *** postsneakernet has quit IRC
[05:18:52] *** owenjones has joined #angularjs
[05:20:01] *** syzygy_ has quit IRC
[05:20:55] *** speeddragon has joined #angularjs
[05:22:39] *** siba has quit IRC
[05:22:39] *** Bloomer has joined #angularjs
[05:22:48] *** speeddragon has quit IRC
[05:22:55] *** speeddra_ has joined #angularjs
[05:23:11] *** wontoner has quit IRC
[05:23:35] *** owenjones has quit IRC
[05:24:20] *** speeddra_ has quit IRC
[05:26:15] *** regedit has quit IRC
[05:29:35] *** regedit has joined #angularjs
[05:31:58] *** Bloomer has quit IRC
[05:33:15] *** ren0v0 has quit IRC
[05:33:24] *** yky_ has joined #angularjs
[05:33:39] *** rickmak_ has quit IRC
[05:33:47] *** drej has quit IRC
[05:35:33] *** syzygy_ has joined #angularjs
[05:36:35] *** ren0v0 has joined #angularjs
[05:39:42] *** skcin7 has joined #angularjs
[05:39:50] *** hefox has quit IRC
[05:43:00] *** macabre has quit IRC
[05:46:39] *** drej has joined #angularjs
[05:47:29] *** I has joined #angularjs
[05:47:53] *** I is now known as Guest11493
[05:48:35] *** yky_ has quit IRC
[05:48:41] *** shinnya has quit IRC
[05:48:46] <ycon_> hi all, I've resolved my CORS error but I'm still getting a 500 server error when trying to do my $http post. Is my json stringified wrong or something? http://dpaste.com/1YCKJY7
[05:48:49] *** yeshacker has joined #angularjs
[05:49:53] *** Bloomer has joined #angularjs
[05:50:20] *** vader699_ has joined #angularjs
[05:50:21] *** KAsp3rd has joined #angularjs
[05:50:38] *** shinnya has joined #angularjs
[05:56:21] *** Guest79287 has joined #angularjs
[05:57:27] *** greatdex has joined #angularjs
[05:59:17] *** rickmak_ has joined #angularjs
[06:01:08] *** KAsp3rd has quit IRC
[06:01:30] *** Guest79287 has quit IRC
[06:02:28] *** drej has quit IRC
[06:02:32] *** Ir1sh has joined #angularjs
[06:05:19] *** jhirley has quit IRC
[06:05:20] *** KAsp3rd has joined #angularjs
[06:06:01] *** cacts has quit IRC
[06:06:27] *** KAsp3rd has quit IRC
[06:07:07] *** syzygy_ has quit IRC
[06:10:50] *** vader699_ has quit IRC
[06:11:41] *** erol has joined #angularjs
[06:11:49] *** vader699_ has joined #angularjs
[06:12:22] *** aoeu256_ has quit IRC
[06:14:16] *** vader699_ has quit IRC
[06:15:51] *** aks has joined #angularjs
[06:17:42] *** Guest83 has quit IRC
[06:19:34] *** ringzer0 has quit IRC
[06:19:48] *** owenjones has joined #angularjs
[06:21:41] *** junmin has quit IRC
[06:23:55] *** Start has joined #angularjs
[06:24:07] *** rickmak_ has quit IRC
[06:24:15] *** s00pcan has quit IRC
[06:24:15] <Lowell> Ya, CORS is fun
[06:24:15] <Start> So guys, when do you think ver2 would be fully release?
[06:24:20] *** suvdeep has joined #angularjs
[06:24:43] <ycon_> Ha, cors easy to solve in angular ($http provider.defaults.headers)
[06:25:01] <ycon_> I'm trying to add a slash after a variable. What is the proper way to write this? $http.post('test.net/api/item/'; + product_id, '/', like);
[06:25:16] <Start> remove ;
[06:25:31] *** owenjones has quit IRC
[06:25:54] <Start> before +
[06:26:00] *** s00pcan has joined #angularjs
[06:26:12] *** Start has quit IRC
[06:27:29] <ycon_> That colon wasn't there anyway. Will this work? $http.post('test.net/api/item/' + product_id, '/', like);
[06:32:17] *** node9 has joined #angularjs
[06:32:56] *** Ir1sh has quit IRC
[06:36:06] *** Aliks has joined #angularjs
[06:36:46] *** jtimon has quit IRC
[06:38:45] *** node9 has quit IRC
[06:40:55] *** erol has quit IRC
[06:43:19] *** Ozd has joined #angularjs
[06:43:46] *** macabre has joined #angularjs
[06:44:15] <Lowell> I'm curious what kind of CORS problem you solved. I've had to add headers at the server level in my cases.
[06:44:15] *** skcin7 has quit IRC
[06:46:11] *** Ozd has quit IRC
[06:48:45] *** macabre has quit IRC
[06:50:22] *** heyts has joined #angularjs
[06:53:11] *** erol has joined #angularjs
[06:54:55] *** heyts has quit IRC
[06:57:41] *** Ozd has joined #angularjs
[06:59:59] *** Danielyan has joined #angularjs
[07:00:38] *** fedenunez has quit IRC
[07:03:07] *** Ruzzy has left #angularjs
[07:04:47] *** castlelore has quit IRC
[07:08:25] *** castlelore has joined #angularjs
[07:08:25] *** castlelore has joined #angularjs
[07:10:00] *** svycka has joined #angularjs
[07:10:35] *** ziro` has quit IRC
[07:12:08] *** nodist has joined #angularjs
[07:19:58] *** nodist has quit IRC
[07:21:27] *** smccarthy has quit IRC
[07:21:29] *** rubyronin has quit IRC
[07:21:30] <ycon_> Lowell: was getting the XMLHttp preflight error. Fixed it by adding this to my routes. Anything wrong with it? http://dpaste.com/20X059F
[07:27:11] *** regedit has quit IRC
[07:28:58] *** tristanp has joined #angularjs
[07:29:36] *** marthinal has joined #angularjs
[07:30:09] *** jbondhus has quit IRC
[07:30:11] *** jbondhus_ has joined #angularjs
[07:31:25] *** uporabnik has joined #angularjs
[07:31:25] *** miha- has quit IRC
[07:31:42] *** squeakytoy has quit IRC
[07:32:05] *** obbs has joined #angularjs
[07:32:50] *** cacts has joined #angularjs
[07:36:21] *** regedit has joined #angularjs
[07:39:15] *** boneskull[away] has quit IRC
[07:40:03] *** Aliks has quit IRC
[07:40:11] *** juro has joined #angularjs
[07:40:37] *** rickmak has joined #angularjs
[07:40:55] *** cacts has quit IRC
[07:41:26] *** cliluw has quit IRC
[07:41:55] *** plekplek has joined #angularjs
[07:41:59] *** AB-Delhi has joined #angularjs
[07:42:03] *** cliluw has joined #angularjs
[07:42:40] *** Aliks has joined #angularjs
[07:43:02] *** boneskull has joined #angularjs
[07:43:38] *** ffio has joined #angularjs
[07:44:10] *** s00pcan has quit IRC
[07:45:28] *** baweaver has joined #angularjs
[07:45:34] *** s00pcan has joined #angularjs
[07:46:31] *** Aliks has quit IRC
[07:47:16] *** lemur has joined #angularjs
[07:48:35] *** cliluw has quit IRC
[07:49:11] *** yky_ has joined #angularjs
[07:49:37] *** cliluw has joined #angularjs
[07:50:00] *** baweaver has quit IRC
[07:50:14] *** boneskull has quit IRC
[07:51:46] *** boneskull has joined #angularjs
[07:52:17] *** prbc has quit IRC
[07:52:17] *** punknroll has joined #angularjs
[07:52:19] *** LtS has quit IRC
[07:52:39] *** prbc has joined #angularjs
[07:54:11] *** yky_ has quit IRC
[07:54:37] *** AB-Delhi has quit IRC
[07:56:32] *** regedit has quit IRC
[07:57:05] *** Aliks has joined #angularjs
[08:00:40] *** lemur has quit IRC
[08:01:24] *** regedit has joined #angularjs
[08:04:56] *** Aliks_ has joined #angularjs
[08:05:07] <ekarlso> is typescript better to use for bigger apps then es6 ?
[08:06:06] *** twst has joined #angularjs
[08:07:40] *** boneskull has quit IRC
[08:08:15] *** Zeineb has joined #angularjs
[08:08:30] *** junmin has joined #angularjs
[08:08:31] *** Aliks has quit IRC
[08:08:31] *** rickmak has quit IRC
[08:08:54] *** icebox has joined #angularjs
[08:08:57] *** Garfield-fr has joined #angularjs
[08:09:04] *** Zeineb has quit IRC
[08:11:29] *** Danielyan has quit IRC
[08:11:58] *** rickmak_ has joined #angularjs
[08:12:16] *** magellanicloud has joined #angularjs
[08:14:13] *** postsneakernet has joined #angularjs
[08:15:03] *** george_v has joined #angularjs
[08:17:05] <icfantv> ekarlso: that's a subjective question.
[08:17:17] <icfantv> you're going to get a myriad of answers from people
[08:17:21] *** hefox has joined #angularjs
[08:17:36] <icfantv> i don't know TS, but I hear some very smart devs complain about it all the time
[08:17:53] <icfantv> that said, if you're going to be using ng2, TS is probably the way to go.
[08:18:07] *** boneskull has joined #angularjs
[08:18:22] <icfantv> and some of those devs are the angular developers
[08:18:29] *** postsneakernet has quit IRC
[08:18:30] *** hefox has quit IRC
[08:19:31] *** mary5030 has joined #angularjs
[08:20:48] *** iraj_ has joined #angularjs
[08:22:47] *** Sharaal has joined #angularjs
[08:22:57] *** rickmak_ has quit IRC
[08:23:14] *** lucio has joined #angularjs
[08:23:41] *** ffio has quit IRC
[08:23:48] <lucio> hello
[08:23:57] <lucio> good good
[08:24:23] *** icfantv has quit IRC
[08:24:53] *** sigurding has joined #angularjs
[08:25:29] *** b0neskull has joined #angularjs
[08:27:48] *** ffio has joined #angularjs
[08:28:14] *** hefox has joined #angularjs
[08:28:28] *** fleetfox_ is now known as fleetfox
[08:28:32] *** drag0niu1 has joined #angularjs
[08:29:18] *** boneskull has quit IRC
[08:29:58] *** regedit has quit IRC
[08:30:03] *** Debnet has joined #angularjs
[08:30:28] *** ycon_ has quit IRC
[08:30:30] *** brollypop has joined #angularjs
[08:31:30] *** drag0nius has quit IRC
[08:32:52] *** mary5030 has quit IRC
[08:33:36] *** yky_ has joined #angularjs
[08:33:48] *** Ozd has quit IRC
[08:34:14] *** nerdfiles has joined #angularjs
[08:34:31] *** nocigar has joined #angularjs
[08:34:41] *** Ozd has joined #angularjs
[08:35:42] *** Aliks_ has quit IRC
[08:37:42] *** leolrrj has joined #angularjs
[08:38:19] *** heyts has joined #angularjs
[08:39:54] *** Dmitri has joined #angularjs
[08:40:35] *** fscala has quit IRC
[08:40:56] *** junmin has quit IRC
[08:41:21] *** rickmak has joined #angularjs
[08:41:42] *** Daerist has joined #angularjs
[08:42:33] *** fscala has joined #angularjs
[08:42:58] *** dbclk has quit IRC
[08:43:19] *** heyts has quit IRC
[08:44:21] *** Aliks has joined #angularjs
[08:45:14] *** Dmitri has quit IRC
[08:45:22] *** Firo has joined #angularjs
[08:45:53] *** castlelore has quit IRC
[08:48:08] *** magellanicloud has quit IRC
[08:48:55] *** dan2k3k4 has joined #angularjs
[08:49:10] *** magellanicloud has joined #angularjs
[08:51:13] *** Aliks has quit IRC
[08:54:48] *** ffio has quit IRC
[08:55:05] *** tarnus has quit IRC
[08:55:05] *** Aliks has joined #angularjs
[08:56:26] *** marthinal has quit IRC
[08:56:56] *** Ozd has quit IRC
[08:57:05] *** twst has quit IRC
[08:57:45] *** Ozd has joined #angularjs
[08:58:56] *** ffio has joined #angularjs
[08:59:38] *** kp666 has quit IRC
[09:01:10] *** codeitloadit has joined #angularjs
[09:01:33] *** Aliks_ has joined #angularjs
[09:03:55] *** danielemm has joined #angularjs
[09:04:40] *** Aliks has quit IRC
[09:07:31] *** Aliks_ has quit IRC
[09:08:16] *** prbc has quit IRC
[09:09:06] *** tristanp has quit IRC
[09:11:01] *** codeitloadit has quit IRC
[09:11:12] *** obbs has quit IRC
[09:12:16] *** zeezey has joined #angularjs
[09:16:14] *** dimtruck is now known as zz_dimtruck
[09:19:30] *** owenjones has joined #angularjs
[09:19:39] *** sssilver has joined #angularjs
[09:24:11] *** owenjones has quit IRC
[09:26:57] <lucio> hello
[09:26:58] <lucio> hello
[09:27:01] <lucio> hi
[09:27:02] <lucio> hi
[09:28:18] *** speeddragon has joined #angularjs
[09:29:03] *** marthinal has joined #angularjs
[09:29:32] *** speeddragon has quit IRC
[09:29:35] *** castlelore has joined #angularjs
[09:30:36] *** Ir1sh has joined #angularjs
[09:30:53] *** danielemm has quit IRC
[09:30:55] *** aoeu256 has joined #angularjs
[09:31:03] *** karma has joined #angularjs
[09:31:15] *** sssilver has quit IRC
[09:31:20] *** plekplek has quit IRC
[09:31:21] <karma> help with karma
[09:31:28] *** karma is now known as Guest95295
[09:31:32] <Guest95295> help with karma
[09:31:45] *** speeddragon has joined #angularjs
[09:32:24] <Guest95295> angular .module('hotelLocation') .controller('NameLocationController', ['hotelDataService', '$scope', nameLocationCtrlFn]);
[09:32:35] <Guest95295> my controller uses $scope and hotelDataService
[09:32:54] *** zeezey has quit IRC
[09:33:09] *** speeddragon has quit IRC
[09:33:13] <benwaffle> good job
[09:33:40] *** speeddragon has joined #angularjs
[09:34:15] *** jodan12 has joined #angularjs
[09:34:38] *** vaddix has joined #angularjs
[09:34:54] *** speeddragon has quit IRC
[09:34:56] <jodan12> can anyone help me with some errors from angularjs2 + typescript + grunt
[09:34:59] <jodan12> ?
[09:35:18] *** doginal has quit IRC
[09:35:21] <icebox> don't ask to ask
[09:35:34] <jodan12> okay then please help me, :D
[09:36:18] *** Dekken has joined #angularjs
[09:36:45] *** b1x1t0__ has joined #angularjs
[09:37:11] *** Ir1sh has quit IRC
[09:37:48] *** b1x1t0__ is now known as B1x1t0
[09:38:12] *** aks has quit IRC
[09:38:35] *** jtimon has joined #angularjs
[09:39:11] *** speeddragon has joined #angularjs
[09:39:15] <jodan12> i got the the grunt part working as well as typescript, i do have some errors when i try to compile the TS code with an angular module imported, it says for example "Cannot find name 'Promise' ", i already included the d.ts file for angularjs2
[09:40:06] *** aks has joined #angularjs
[09:40:28] *** speeddragon has quit IRC
[09:40:51] *** vino has joined #angularjs
[09:40:55] <vino> Hi
[09:41:16] *** vino has quit IRC
[09:42:00] *** aoeu256 has quit IRC
[09:42:52] <Guest95295> http://plnkr.co/edit/xm2MdhWv6VtDpKHIXosl?p=catalogue
[09:42:55] <Guest95295> can anyone take a look
[09:43:29] *** mary5030 has joined #angularjs
[09:43:47] *** obbs has joined #angularjs
[09:44:22] *** speeddragon has joined #angularjs
[09:44:38] <Guest95295> im getting unknown provider error in karma
[09:44:45] <Guest95295> hotelDataService...
[09:45:56] *** speeddragon has quit IRC
[09:47:06] *** Koti has joined #angularjs
[09:47:25] *** vandyk has quit IRC
[09:47:44] *** mary5030 has quit IRC
[09:47:45] *** Koti has left #angularjs
[09:47:53] *** speeddragon has joined #angularjs
[09:49:23] *** speeddragon has quit IRC
[09:51:31] *** kyberplayer has joined #angularjs
[09:52:24] *** tobias47n9e_ has quit IRC
[09:52:26] <Firo> What module does it belong to?
[09:54:43] *** mosulica has joined #angularjs
[09:54:47] *** greatdex has quit IRC
[09:55:23] <Guest95295> its currently hardcoded, so i attached it to the same module as the controller
[09:55:28] <Guest95295> hotelContent
[09:55:32] <Guest95295> btw
[09:55:42] <Guest95295> karma.conf.js files are:
[09:55:54] <Guest95295> files: [ 'bower_components/angular/angular.js', 'bower_components/angular-mocks/angular-mocks.js', 'app/app.module.js', 'app/shared/shared.module.js', 'app/hotelContent/hotelContent.module.js', 'app/hardcode.js', 'app/**/*.js', 'app/**/*.spec.js', 'app/*.js' ]
[09:56:16] <Guest95295> all modules are loaded first, then the hardcode, and then rest of the js files
[09:56:27] <Guest95295> angular and mocks are first
[09:56:30] *** ffio has quit IRC
[09:57:01] *** cotko has joined #angularjs
[09:57:21] *** Hounddog has joined #angularjs
[09:58:00] *** sidesplitter has joined #angularjs
[09:58:25] <sidesplitter> Does anyone know why angular tries to load http.js from the root directory instead of from /node_modules/angular2?
[10:00:37] <Guest95295> Firo any idea?
[10:00:37] <lucio> angular2?
[10:00:53] *** jstroem has joined #angularjs
[10:01:10] <sidesplitter> Yep
[10:01:30] *** tobias47n9e has joined #angularjs
[10:02:50] <lucio> I've no idea,sorry
[10:02:52] *** Aliks has joined #angularjs
[10:03:18] <Firo> I'm not really familiar with karma, just thought you might not be loading the module it belongs to as a simple case
[10:03:44] *** dopesong has joined #angularjs
[10:04:35] *** jodan12 has quit IRC
[10:04:49] *** b0neskull has quit IRC
[10:04:56] *** fred-fri has joined #angularjs
[10:05:13] *** kyt has joined #angularjs
[10:05:25] <kyt> hi
[10:05:37] *** kyt is now known as Guest80680
[10:05:56] <fred-fri> for fun i tried writing a service that uses OO internally, what do you think? https://github.com/androidfred/angulator/blob/master/src/app/main/main.service.js
[10:06:06] <Guest80680> have just tried the quickstart on angular 2 beta
[10:06:42] *** Guest95295 is now known as Coman
[10:06:43] <Guest80680> i am concern about whether should the learning on angular 2 be based on javascript or typescript.
[10:06:49] <Coman> http://plnkr.co/edit/xm2MdhWv6VtDpKHIXosl?p=catalogue
[10:06:55] <Coman> can anyone take a look
[10:07:00] <Coman> im getting unknown provider error in karma
[10:07:27] <Coman> hotelDataService, registered to the hotelContent module same as the controller
[10:07:41] *** jstroem has quit IRC
[10:08:06] *** Aliks has quit IRC
[10:09:40] *** Guest80680 has quit IRC
[10:09:40] *** greatdex has joined #angularjs
[10:09:50] *** Firo has quit IRC
[10:10:17] *** Aliks has joined #angularjs
[10:10:19] *** Firo has joined #angularjs
[10:10:22] *** Rashmith has joined #angularjs
[10:10:50] <Rashmith> how to bind html with ng-click??
[10:11:26] *** dszmaj has joined #angularjs
[10:11:27] <Rashmith> if i use ng-click=clickevent('xyz') like this, it does nt work
[10:11:37] <Rashmith> can i get help on this??
[10:12:47] *** kyberplayer has quit IRC
[10:13:26] <icebox> Rashmith: check the syntax (surrounding with double quotes help) and check if clickevent method is in the scope
[10:13:33] *** rickmak has quit IRC
[10:14:39] <Rashmith> this is the html im using "<p ng-click='consentClick()'>Go</p>"
[10:14:57] *** hefox has quit IRC
[10:15:06] <Rashmith> click event is a scope
[10:15:11] *** Aliks has quit IRC
[10:15:30] *** dpicky has joined #angularjs
[10:16:30] <Rashmith> im using $sce.trustAsHtml() .. the template gets bind but the click doesnt get fired
[10:16:32] *** wafflejock has quit IRC
[10:16:55] *** senayar has joined #angularjs
[10:16:55] *** senayar has joined #angularjs
[10:18:27] <icebox> Rashmith: ah... you are using that snippet in a directive
[10:18:46] <icebox> Rashmith: provide a plunker reproducing the issue
[10:19:12] *** rickmak has joined #angularjs
[10:20:32] *** mynameiswhat has joined #angularjs
[10:21:32] *** Slizz3r has joined #angularjs
[10:22:29] *** Slizz3r has joined #angularjs
[10:23:28] *** zeezey has joined #angularjs
[10:24:04] <Rashmith> http://plnkr.co/edit/ygejH22aP3ph4BpNAlVy?p=preview
[10:25:32] <Rashmith> actually i want to pass an url in click event
[10:25:44] <Rashmith> but its not workin
[10:25:46] *** drag0niu1 is now known as drag0nius
[10:26:27] *** heyts has joined #angularjs
[10:27:11] <Rashmith> http://plnkr.co/edit/ygejH22aP3ph4BpNAlVy?p=preview
[10:27:30] <Coman> http://plnkr.co/edit/xm2MdhWv6VtDpKHIXosl?p=catalogue
[10:27:34] <Coman> im getting unknown provider error in karma
[10:27:36] <Coman> hotelDataService, registered to the hotelContent module same as the controller
[10:29:50] *** ahhhndi has joined #angularjs
[10:30:22] <senayar> your spec file is not closed properly
[10:30:45] *** clivejo has joined #angularjs
[10:31:26] <senayar> Coman: http://plnkr.co/edit/gglR6tB21mi17E3UnnQN?p=preview
[10:31:28] *** dpicky has quit IRC
[10:31:38] *** heyts has quit IRC
[10:31:56] *** dpicky has joined #angularjs
[10:33:50] *** Tubia87 has joined #angularjs
[10:34:00] <Tubia87> hi all
[10:34:28] <icebox> Rashmith: and ionic... :)
[10:34:53] *** marr has joined #angularjs
[10:35:45] <icebox> Rashmith: click on "p" tag and ionic don't work very well :)
[10:36:21] *** Sky[x] has joined #angularjs
[10:36:31] <Tubia87> I have a simple general question that I was not able to answer myself. I'm trying to use a 3rd party npm in a angularjs app (ionic). There is a common workflow for this?
[10:36:53] *** zeezey has quit IRC
[10:37:36] <Rashmith> Yes dats wht i cant figure out why does the click event not working
[10:37:58] *** Rashmith has quit IRC
[10:38:05] <icebox> Rashmith: if you google about that, you get a few workarounds
[10:38:20] <Coman> senayar
[10:38:26] <Coman> still unknown provider
[10:38:37] <Coman> am i injecting the hotelDataService properly?
[10:39:20] *** skritchz has joined #angularjs
[10:39:52] <senayar> no use $provide
[10:40:05] <senayar> ah no sorry
[10:40:08] <senayar> wait
[10:40:29] *** Ivan_ has joined #angularjs
[10:40:59] <Coman> the service is registered in the hotelContent module (since its currently hardcoded)
[10:41:37] <Coman> and i load angular, angular mocks, all the modules first, then all the other js files in the karma.conf.js file
[10:42:17] *** suvdeep has quit IRC
[10:42:37] *** markfknight has quit IRC
[10:43:31] *** markfknight has joined #angularjs
[10:44:31] *** Leon has joined #angularjs
[10:44:44] <senayar> http://plnkr.co/edit/gglR6tB21mi17E3UnnQN?p=preview
[10:45:16] *** Ivan_ has quit IRC
[10:45:30] *** macabre has joined #angularjs
[10:45:37] *** zeezey has joined #angularjs
[10:46:15] *** Mizar has joined #angularjs
[10:46:34] <Coman> just a sec
[10:47:13] *** Phorn has joined #angularjs
[10:47:21] <Phorn> ddd
[10:47:34] <Phorn> HI i want to ask you all
[10:47:36] *** asdf_ has joined #angularjs
[10:47:44] *** Mizar has left #angularjs
[10:47:48] <asdf_> hi there
[10:48:09] <Phorn> how to call object form database in rails using angular js
[10:48:10] <Phorn> ?
[10:48:13] *** guilbep has joined #angularjs
[10:48:24] *** asdf_ has quit IRC
[10:48:54] *** suvdeep has joined #angularjs
[10:49:13] *** step1ste_ has joined #angularjs
[10:49:28] <senayar> Phorn: https://thinkster.io/angular-rails
[10:49:55] *** macabre has quit IRC
[10:52:15] *** step1step2 has quit IRC
[10:52:32] *** p0k0 has quit IRC
[10:55:04] *** nocigar has quit IRC
[10:55:43] *** tarnus has joined #angularjs
[10:56:12] *** zeezey has quit IRC
[10:56:31] *** nocigar has joined #angularjs
[10:56:36] <Phorn> senayar: Thx you very much
[10:57:02] *** zeezey has joined #angularjs
[10:57:59] *** dpicky has quit IRC
[10:58:15] <Coman> senayar : http://plnkr.co/edit/gglR6tB21mi17E3UnnQN
[10:58:22] <Coman> now $controller is not a function
[10:58:26] *** dpicky has joined #angularjs
[10:59:05] *** sbellina has quit IRC
[10:59:12] *** p0k0 has joined #angularjs
[11:00:04] *** jdo_dk has joined #angularjs
[11:00:26] *** tarnus has quit IRC
[11:01:09] <lucio> hi
[11:01:47] *** dpicky has quit IRC
[11:02:04] <senayar> Coman: http://plnkr.co/edit/gglR6tB21mi17E3UnnQN?p=info
[11:02:46] *** dopesong has quit IRC
[11:04:09] *** fred-fri has quit IRC
[11:05:31] <Coman> still, i have no idea whats happening
[11:06:07] <Coman> :\
[11:07:09] *** zeezey has quit IRC
[11:08:00] *** janez has quit IRC
[11:08:23] *** janez has joined #angularjs
[11:09:08] *** \du has joined #angularjs
[11:10:46] *** Coman has quit IRC
[11:11:03] *** nocturne777 has quit IRC
[11:12:16] *** rickmak has quit IRC
[11:14:21] *** aks has quit IRC
[11:15:36] *** sidesplitter has quit IRC
[11:16:23] *** postsneakernet has joined #angularjs
[11:16:30] *** aks has joined #angularjs
[11:17:06] *** hex` has joined #angularjs
[11:18:19] *** restless_being_ is now known as restless_being
[11:19:00] *** rickmak has joined #angularjs
[11:19:35] <Hounddog> Am trying to implement our style guide in to angular material however i am having a hard time. We have 2 primary color sets and 4 accent color sets. Anyone got some advise how to handle this?
[11:19:53] *** Dmitri has joined #angularjs
[11:20:35] *** postsneakernet has quit IRC
[11:20:47] *** jpstone has quit IRC
[11:21:26] *** waverider has joined #angularjs
[11:21:27] *** waverider has joined #angularjs
[11:21:33] *** ahhhndi has quit IRC
[11:21:44] *** elyssonmr has joined #angularjs
[11:21:53] *** hex` has quit IRC
[11:21:53] *** hex` has joined #angularjs
[11:24:43] *** vandyk has joined #angularjs
[11:25:44] <icebox> I think it is called "layout"
[11:26:14] <Hounddog> icebox: thats for me?
[11:26:30] <icebox> no
[11:26:58] *** jstroem has joined #angularjs
[11:27:06] *** macobo has joined #angularjs
[11:27:24] *** waverider has quit IRC
[11:27:39] *** vava has joined #angularjs
[11:28:55] *** rick has joined #angularjs
[11:29:19] *** rick is now known as Guest46824
[11:29:28] <Phorn> hi
[11:29:55] <Guest46824> hi
[11:29:55] *** Phorn has quit IRC
[11:29:57] *** Sharaal has quit IRC
[11:30:54] *** Guest46824 has quit IRC
[11:31:06] *** vava_ has joined #angularjs
[11:31:07] *** ahhhndi has joined #angularjs
[11:31:23] <vava_> join
[11:31:49] <vava_> anybody is here
[11:31:54] <lucio> hi
[11:32:12] *** vava has quit IRC
[11:32:45] <vava_> hi lucio, how can i call method in controller from service
[11:32:48] <vava_> ??
[11:33:10] <lucio> hi
[11:33:26] <vava_> can you please help me
[11:33:52] *** lucio has quit IRC
[11:36:32] *** Tubia87 has quit IRC
[11:37:22] *** nivag has quit IRC
[11:38:29] <vava_> anybody is here]
[11:38:51] *** nivag has joined #angularjs
[11:39:49] <icebox> don't ask to ask
[11:40:43] *** yky_ has quit IRC
[11:40:46] *** jdo_dk has quit IRC
[11:40:52] <Hounddog> vava_: Are you trying to survey if anyone is here or are you looking for help. If the latter then you should ask your question and if anyone knows they will answer
[11:42:26] *** dopesong has joined #angularjs
[11:43:09] *** george_v has quit IRC
[11:43:11] <vava_> iam new to here thats y, sorry... if you dnt mond can you help[ me?
[11:43:59] <Hounddog> I just told you to just ask your question. If anyone here can help you they will help. If you want personal support we can discuss my feees
[11:44:06] *** Leon has quit IRC
[11:45:24] *** rishav has joined #angularjs
[11:45:46] <rishav> Hey
[11:45:55] <icebox> chicken for free, money for nothing :)
[11:46:32] <rishav> User can be logged in only in one device, in order to login on another device needs to log out first
[11:46:50] *** dopesong has quit IRC
[11:47:40] *** b0x has quit IRC
[11:48:21] <rishav> i need some help in this
[11:48:30] *** Sharaal has joined #angularjs
[11:49:10] *** greatdex has quit IRC
[11:49:19] <senayar> disconnect the user in the other device and connect the new, just by generating a new token
[11:49:47] *** skritchz has quit IRC
[11:49:56] *** sbasso has joined #angularjs
[11:50:16] <rishav> this is to protect the account from hacking, if you logged in, no one can try to hack your account
[11:50:17] *** dpicky has joined #angularjs
[11:50:46] *** zeezey has joined #angularjs
[11:51:20] <Hounddog> oO
[11:51:26] *** nocigar has quit IRC
[11:52:17] <senayar> it's bad behaviour rishav
[11:52:18] <senayar> http://stackoverflow.com/a/13681077/861206
[11:52:30] <Hounddog> rishav: From a security point thats nonsense. Rather go for a 2 way authentication
[11:54:34] *** Daerist is now known as Daerist`
[11:54:42] *** Zamerick_ has joined #angularjs
[11:54:46] *** ahaeger has joined #angularjs
[11:54:55] *** dopesong has joined #angularjs
[11:55:13] *** Bloomer has quit IRC
[11:55:28] *** ome has joined #angularjs
[11:55:33] *** xArkanEx has joined #angularjs
[11:55:45] <xArkanEx> Hello everyone
[11:55:52] *** prpjf has joined #angularjs
[11:55:52] *** prpjf is now known as schneider
[11:56:15] *** G1eb has joined #angularjs
[11:56:22] *** davlefou has joined #angularjs
[11:56:37] *** G1eb has left #angularjs
[11:56:39] *** Daerist has joined #angularjs
[11:57:09] <xArkanEx> is this a good place to ask questions on angular2 beta ?
[11:57:17] *** davlefou has left #angularjs
[11:57:30] *** vava_ has quit IRC
[11:58:50] *** greengriminal has joined #angularjs
[12:00:29] *** guilbep has joined #angularjs
[12:00:37] *** rishav has quit IRC
[12:00:37] *** vava has joined #angularjs
[12:01:03] *** phrozensilver has joined #angularjs
[12:03:15] *** iceball has joined #angularjs
[12:04:19] *** zeezey has quit IRC
[12:05:06] *** zeezey has joined #angularjs
[12:05:26] *** sigurding has quit IRC
[12:06:11] *** greengriminal has quit IRC
[12:06:47] *** dpicky has quit IRC
[12:08:32] *** dpicky has joined #angularjs
[12:08:44] *** phrozensilver has quit IRC
[12:09:38] *** tristanp has joined #angularjs
[12:10:21] *** nerder has joined #angularjs
[12:12:25] *** Coman has joined #angularjs
[12:12:39] <Coman> http://plnkr.co/edit/WYOcDZ7s970Ap14KwLw8?p=catalogue
[12:12:45] <Coman> help :) with karma
[12:13:04] *** Jeroendl has joined #angularjs
[12:14:10] <Coman> $controller is not a function
[12:14:22] *** ahhhndi has quit IRC
[12:14:27] *** heyts has joined #angularjs
[12:15:14] *** tristanp has quit IRC
[12:15:16] *** zeezey has quit IRC
[12:16:00] *** bennyc has joined #angularjs
[12:17:37] *** BigBangUDR has joined #angularjs
[12:18:24] *** vava has quit IRC
[12:18:46] <Coman> scratch that
[12:19:04] <Coman> unknown provider - hotelDataService
[12:19:27] *** heyts has quit IRC
[12:20:19] *** corioliss has quit IRC
[12:21:11] *** bennyc has quit IRC
[12:21:15] *** Ir1sh has joined #angularjs
[12:22:32] *** Daerist has quit IRC
[12:23:23] *** Daerist has joined #angularjs
[12:24:03] *** aks has quit IRC
[12:24:06] *** vandyk has quit IRC
[12:25:00] <soee> :)
[12:25:55] *** laokoala has quit IRC
[12:26:07] *** aks has joined #angularjs
[12:26:23] *** Ir1sh has quit IRC
[12:26:56] *** Ir1sh has joined #angularjs
[12:28:12] *** siba has joined #angularjs
[12:28:15] *** dpicky has quit IRC
[12:28:21] *** Guest11493 has quit IRC
[12:28:33] *** dpicky has joined #angularjs
[12:29:05] *** joshontheweb has quit IRC
[12:31:17] *** Daerist` has quit IRC
[12:31:44] *** joshontheweb has joined #angularjs
[12:32:40] *** atomicb0mb has joined #angularjs
[12:38:40] *** mellernoia has joined #angularjs
[12:40:45] *** janezkranjc has joined #angularjs
[12:40:46] *** janez has quit IRC
[12:41:00] *** janezkranjc is now known as janez
[12:41:13] *** yky_ has joined #angularjs
[12:41:20] *** heyts has joined #angularjs
[12:42:48] *** juro has quit IRC
[12:43:02] *** asteele has quit IRC
[12:45:50] *** yky_ has quit IRC
[12:47:05] *** macobo has quit IRC
[12:48:44] <Coman> :(
[12:49:12] *** nailo has joined #angularjs
[12:50:47] <nailo> One q guys about the orderBy filter, do filters consume the whole sequence or iterables one by one? e.g. in order for "name in name | orderBy:name" to work it must consume the whole sequence prior to yielding.
[12:51:00] *** PeterBooker has joined #angularjs
[12:52:25] *** sigurding has joined #angularjs
[12:52:51] *** fscala has quit IRC
[12:53:00] *** Ir1sh has quit IRC
[12:54:33] *** vandyk has joined #angularjs
[12:55:56] *** fscala has joined #angularjs
[12:56:55] *** tarnus has joined #angularjs
[12:58:04] *** koorb has joined #angularjs
[12:58:52] *** Dekken has quit IRC
[12:59:40] *** storresi has joined #angularjs
[13:01:00] *** Ir1sh_ has joined #angularjs
[13:01:09] *** Dekken has joined #angularjs
[13:01:20] *** Ir1sh_ has quit IRC
[13:01:49] *** Ir1sh_ has joined #angularjs
[13:02:05] *** tarnus has quit IRC
[13:02:32] *** morissette has joined #angularjs
[13:04:25] *** dpicky has quit IRC
[13:06:52] *** dpicky has joined #angularjs
[13:07:23] *** Dekken has quit IRC
[13:09:01] *** krishna has joined #angularjs
[13:09:33] *** krishna has quit IRC
[13:09:46] *** Firo has quit IRC
[13:11:15] *** one_zero has quit IRC
[13:12:31] *** george_v has joined #angularjs
[13:16:23] *** delgiudices has joined #angularjs
[13:16:57] *** marcules is now known as moep
[13:19:23] *** qdk has quit IRC
[13:19:55] *** Dekken has joined #angularjs
[13:21:22] *** dszmaj has quit IRC
[13:22:00] *** dszmaj has joined #angularjs
[13:23:40] *** JBreit has quit IRC
[13:24:01] *** Guest11493 has joined #angularjs
[13:24:07] *** mosulica has quit IRC
[13:24:35] *** Coldblackice has quit IRC
[13:24:41] <nailo> Must I always register controllers using app.controller..... etc? Reading a tutorial in which the controller is just a simple function receiving scope, but using it like this causes an error.
[13:24:53] *** magellanicloud has quit IRC
[13:25:15] *** ahaeger has quit IRC
[13:25:29] *** Dekken has quit IRC
[13:25:32] *** realz has quit IRC
[13:25:43] *** realz has joined #angularjs
[13:25:48] *** Dekken has joined #angularjs
[13:26:00] *** emaz has quit IRC
[13:26:40] *** Dmitri has quit IRC
[13:26:47] *** ahaeger has joined #angularjs
[13:28:38] *** rickmak has quit IRC
[13:28:55] *** speeddragon has joined #angularjs
[13:29:31] *** rickmak_ has joined #angularjs
[13:31:19] *** italoacasas has joined #angularjs
[13:31:27] *** JBreit has joined #angularjs
[13:31:55] *** atomicb0mb has quit IRC
[13:32:55] *** Dekken has quit IRC
[13:33:00] *** ahaeger has quit IRC
[13:33:34] *** sigurding has quit IRC
[13:36:57] *** magellanicloud has joined #angularjs
[13:37:38] *** davlefou has joined #angularjs
[13:38:21] *** senayar has quit IRC
[13:38:26] *** davlefou has left #angularjs
[13:38:50] *** erol has quit IRC
[13:38:54] *** senayar has joined #angularjs
[13:39:23] *** erol has joined #angularjs
[13:40:05] *** __danimal__ has joined #angularjs
[13:40:24] *** siba has quit IRC
[13:40:29] *** iceball has quit IRC
[13:40:46] <Coman> you can use angular.module('name').controller
[13:42:43] *** yky_ has joined #angularjs
[13:43:23] *** postsneakernet has joined #angularjs
[13:45:50] *** davlefou has joined #angularjs
[13:46:19] *** bubblyclouds has joined #angularjs
[13:46:28] <Coman> http://plnkr.co/edit/WYOcDZ7s970Ap14KwLw8?p=catalogue
[13:46:37] *** davlefou has left #angularjs
[13:46:38] <Coman> can someone help me with jasmine???
[13:47:02] *** yky_ has quit IRC
[13:48:20] *** wetnet has joined #angularjs
[13:48:21] *** fedenunez has joined #angularjs
[13:49:59] *** heyts has quit IRC
[13:52:23] *** italoacasas has quit IRC
[13:53:33] *** nerder has quit IRC
[13:54:56] *** senayar has quit IRC
[13:55:09] *** senayar has joined #angularjs
[13:55:09] *** senayar has joined #angularjs
[13:56:05] *** ziro` has joined #angularjs
[13:56:54] <ziro`> if there's one thing I hate about frontend development - it's bundling
[13:56:55] *** fedenunez has quit IRC
[13:57:40] <ziro`> especially when angular won't allow me to use a package manager for including things like polyfills
[13:57:54] *** maximski has joined #angularjs
[13:58:24] *** Sharaal has quit IRC
[13:59:13] *** speeddra_ has joined #angularjs
[13:59:28] *** italoacasas has joined #angularjs
[14:00:34] *** tarnus has joined #angularjs
[14:00:49] *** sigurding has joined #angularjs
[14:01:14] *** monoprotic has quit IRC
[14:01:52] *** pe has joined #angularjs
[14:02:16] <nailo> Since Angular is a front-end spa framework, does it provide any tools for authentication/authorization?
[14:02:24] *** Razerglass has joined #angularjs
[14:02:58] *** marthinal has quit IRC
[14:03:08] *** quakephil has joined #angularjs
[14:03:40] *** rickmak_ has quit IRC
[14:03:49] <pe> Hi, I have an angularjs application with an OAuth authentication. I store the token in localStorage, but if i open 2 tabs, I have only one token and both tabs try to refresh it. Do you have ideas to handle several tabs opened of the same angular app ?
[14:03:57] *** laokoala has joined #angularjs
[14:03:58] *** step1ste_ has quit IRC
[14:04:28] *** rickmak has joined #angularjs
[14:05:23] *** rickmak has quit IRC
[14:05:55] *** svycka has quit IRC
[14:06:18] *** qdk has joined #angularjs
[14:06:54] *** Dmitri has joined #angularjs
[14:08:41] *** squeakytoy2 has quit IRC
[14:08:57] *** nailo has quit IRC
[14:09:11] <icebox> nailo: why do you say that?
[14:10:07] <icebox> pe: that is not angularjs... https://developer.mozilla.org/en/docs/Web/API/Window/localStorage
[14:10:39] *** aks has quit IRC
[14:11:05] *** aks has joined #angularjs
[14:11:20] *** rickmak_ has joined #angularjs
[14:11:41] *** tristanp has joined #angularjs
[14:12:02] *** Ir1sh_ has quit IRC
[14:13:16] *** step1step2 has joined #angularjs
[14:15:47] *** aks has quit IRC
[14:16:20] *** tristanp has quit IRC
[14:16:24] *** markfknight has quit IRC
[14:19:35] *** Ir1sh has joined #angularjs
[14:20:27] *** Ozd has quit IRC
[14:20:32] *** aks has joined #angularjs
[14:20:32] <pe> icebox: it's a problem reccurrent in angularjs application, "how to handle correctly the token to use several tabs".
[14:21:02] *** sbasso has quit IRC
[14:21:17] <pe> icebox: i've searched it for 2 months, i found 0 satisfying answer until now
[14:21:56] *** BigBangUDR has quit IRC
[14:22:26] *** markfknight has joined #angularjs
[14:22:58] *** suvdeep has quit IRC
[14:23:04] *** maximski has quit IRC
[14:23:07] <icebox> pe: I am afraid you are looking in a wrong domain
[14:23:55] <icebox> pe:: what do you mean "recurrent problem in angularjs"?
[14:24:30] <pe> In each angularjs application, since you use an OAuth authentication, you will face this problem
[14:24:55] *** Ir1sh has quit IRC
[14:24:56] <icebox> pe: which problem?
[14:25:28] <icebox> pe: the token in several tabs?
[14:25:39] <pe> icebox: the token has an expiration date. If you have 2 tabs, the first tab and the 2nd tab use the same token first, then both try to refresh it
[14:25:39] *** edrocks_ has joined #angularjs
[14:25:54] <pe> currently, there is no real implementation of mutex on localStorage
[14:26:15] <icebox> pe: it is not an angularjs problem :)
[14:26:27] <icebox> pe: and it is not a problem, generally speaking
[14:27:47] <pe> icebox: since you build a single-page with angularjs, it's a problem due to the architecture used. And it's clearly a problem since you crash tabs (token invalidated) if you don't handle it correctly.
[14:28:10] <pe> i dont accuse angularjs to not provide some functionnality to handle it
[14:28:23] <pe> what i search, it's what is the good way to handle it with angularjs
[14:28:23] *** Sharaal has joined #angularjs
[14:29:16] *** knownasilya has joined #angularjs
[14:30:37] *** Ir1sh has joined #angularjs
[14:31:15] *** corioliss has joined #angularjs
[14:31:51] *** xArkanEx has quit IRC
[14:32:07] <icebox> pe: apart angularjs, what is the specific problem? Updating localStorage from two tabs?
[14:32:50] *** heyts has joined #angularjs
[14:32:57] <icebox> pe: I think there is pattern for that
[14:32:58] <pe> yes, i just want one tab to update the token, and the other tab to update the token.
[14:33:06] *** Ir1sh has quit IRC
[14:33:08] *** maximski has joined #angularjs
[14:33:22] *** Ir1sh has joined #angularjs
[14:33:30] <pe> at my first try, both tabs were refreshing at the same time => 1 tab deconnected minimum
[14:33:48] <icebox> pe: if I understand correctly, you wish to queue the calls
[14:33:54] <pe> no
[14:34:05] <pe> if you have 3 tabs
[14:34:11] *** steven_ has joined #angularjs
[14:34:16] <pe> if tab 1 refreshed, tab 2 and 3 don't have to
[14:34:21] <pe> but have to update their token
[14:34:22] <icebox> pe: ah ok
[14:34:27] *** Daerist` has joined #angularjs
[14:34:28] <pe> if you close tab 1
[14:34:36] <pe> either tab 2 or tab 3 have to update the token
[14:34:41] <edrocks_> what are you using multiple tabs for?
[14:34:56] *** Daerist has quit IRC
[14:35:02] <pe> to open several description pages for examples
[14:35:11] *** Ragnar has quit IRC
[14:35:22] <pe> if you want to see several profiles, description pages, etc...
[14:35:23] *** rickmak_ has quit IRC
[14:35:28] <edrocks_> ah are you trying to send updates between them or something?
[14:35:49] <pe> i tried to use a mutex implementation
[14:36:00] <pe> now i saw that we have the 'storage' event
[14:36:24] <pe> which notifies if localStorage is updated in the other tabs
[14:36:38] <pe> but since 1 tab is in 1 thread
[14:36:51] *** owenjones has joined #angularjs
[14:36:56] <pe> and if you have 3 tabs, it's 3 threads max
[14:37:23] *** junmin has joined #angularjs
[14:37:31] <pe> if the 3 windows launch a refresh_token at the same time
[14:37:36] <edrocks_> what went wrong with the mutex?
[14:37:50] <pe> the event will be sent only when the 3 threads finished the code execution
[14:37:57] <pe> so the 3 refresh will be really launched
[14:38:46] <pe> the mutex implementation i tried launch an exception when there is a problem x)
[14:38:52] <pe> of concurrency
[14:39:05] *** charuru has joined #angularjs
[14:39:14] *** Ir1sh has quit IRC
[14:40:20] *** jstroem has quit IRC
[14:41:18] *** Dekken has joined #angularjs
[14:42:38] *** drej has joined #angularjs
[14:43:02] *** jstroem has joined #angularjs
[14:43:18] *** step1step2 has quit IRC
[14:44:20] *** yky_ has joined #angularjs
[14:45:41] *** rchavik has quit IRC
[14:45:57] *** wetnet has quit IRC
[14:46:56] *** step1step2 has joined #angularjs
[14:47:21] *** macabre has joined #angularjs
[14:47:26] *** ome has quit IRC
[14:48:32] *** yky_ has quit IRC
[14:49:31] *** italoacasas has quit IRC
[14:50:22] *** speeddragon has quit IRC
[14:51:23] *** batch4225 has joined #angularjs
[14:52:20] *** macabre has quit IRC
[14:53:03] *** step1step2 has quit IRC
[14:53:38] *** johnnyfive has quit IRC
[14:54:07] *** step1step2 has joined #angularjs
[14:54:27] *** bubblyclouds has quit IRC
[14:55:12] *** Ragnar has joined #angularjs
[14:55:42] *** fedenunez has joined #angularjs
[14:57:30] *** rickmak_ has joined #angularjs
[14:58:49] *** jditto_ has joined #angularjs
[14:59:56] *** Jardayn has joined #angularjs
[15:01:51] *** Godskalk has joined #angularjs
[15:02:09] *** junmin has quit IRC
[15:02:26] <Godskalk> Hi. Anyone have or know of any angular2 quickstarting libraries i can clone from git or whatever? The ones i find in google are either very buggy or too old
[15:03:19] *** johnnyfive has joined #angularjs
[15:03:33] <Godskalk> or some general examples?
[15:04:01] <icebox> Godskalk: typescript, es6 or es5?
[15:04:38] <Godskalk> typescript yeah
[15:04:51] <Godskalk> isnt that the way to go with ang2?
[15:04:58] *** rho has joined #angularjs
[15:04:59] *** rho has joined #angularjs
[15:05:21] <Godskalk> typescript to be compiled to es5..
[15:05:54] <Godskalk> i found this https://github.com/AngularClass/angular2-webpack-starter but i think it is buggy
[15:05:59] *** junmin has joined #angularjs
[15:06:36] <icebox> Godskalk: https://github.com/mgechev/angular2-seed
[15:06:40] *** marthinal has joined #angularjs
[15:06:40] *** jstroem has quit IRC
[15:06:46] <icebox> Godskalk: https://github.com/DanWahlin/Angular2-JumpStart
[15:06:59] <Godskalk> thanks
[15:09:03] <Godskalk> that last one seemed really nice, ty
[15:09:54] *** Guest11493 has quit IRC
[15:13:38] *** italoacasas has joined #angularjs
[15:13:49] <moep> hi icebox Happy Holidays! :)
[15:14:00] *** italoacasas has quit IRC
[15:14:02] *** iraj_ has quit IRC
[15:14:36] *** italoacasas has joined #angularjs
[15:15:15] *** cocao has joined #angularjs
[15:15:43] *** owenjones has quit IRC
[15:15:51] <icebox> moep: hey... you too
[15:16:24] *** bradjones has quit IRC
[15:19:04] *** doodlehaus has joined #angularjs
[15:21:00] *** gho5t has quit IRC
[15:22:21] *** postsneakernet has quit IRC
[15:23:15] *** Poeticode has joined #angularjs
[15:24:00] *** JBreit has quit IRC
[15:24:35] *** skcin7 has joined #angularjs
[15:24:55] *** Johnny- has quit IRC
[15:25:50] <Coman> anyone got a good article aboout testing directives with templateUrl ?
[15:26:33] <zomg> Coman: I'm not entirely sure how templateUrl would make it any different to test compared to no templateUrl
[15:26:33] *** zigzagzig has joined #angularjs
[15:26:48] <Coman> zomg
[15:26:51] *** scbaek has joined #angularjs
[15:27:09] *** scbaek has quit IRC
[15:27:24] <Coman> from the angular api -
[15:27:24] <Coman> Testing Directives With External Templates If your directive uses templateUrl, consider using karma-ng-html2js-preprocessor to pre-compile HTML templates and thus avoid having to load them over HTTP during test execution. Otherwise you may run into issues if the test directory hierarchy differs from the application's.
[15:27:51] <Coman> ive tried to read the github of html2js-preprocessor
[15:28:01] <Coman> but its very unclear to me
[15:29:41] *** step1step2 has quit IRC
[15:30:06] *** Johnny- has joined #angularjs
[15:30:09] *** jae has quit IRC
[15:31:05] <Coman> so, anyone?
[15:31:06] *** ESpiney has joined #angularjs
[15:32:55] *** u0m3 has joined #angularjs
[15:33:02] *** macabre has joined #angularjs
[15:36:35] *** Godskalk has quit IRC
[15:37:14] *** mandric has joined #angularjs
[15:37:32] *** step1step2 has joined #angularjs
[15:37:59] *** heyts has quit IRC
[15:39:44] *** Ir1sh has joined #angularjs
[15:40:55] *** jstroem has joined #angularjs
[15:41:33] *** dascodeman has joined #angularjs
[15:41:48] *** drej has quit IRC
[15:42:13] *** leolrrj has joined #angularjs
[15:43:27] *** skcin7 has quit IRC
[15:45:11] *** Ir1sh has quit IRC
[15:46:05] *** edrocks__ has joined #angularjs
[15:46:19] *** edrocks_ has quit IRC
[15:46:22] *** diosney has joined #angularjs
[15:46:41] *** step1step2 has quit IRC
[15:47:18] *** phrozensilver has joined #angularjs
[15:48:46] *** c00ljs has joined #angularjs
[15:49:38] *** drej has joined #angularjs
[15:50:32] *** drej has joined #angularjs
[15:51:21] *** zac has joined #angularjs
[15:51:54] *** Es0teric has joined #angularjs
[15:52:25] *** zigzagzig has quit IRC
[15:55:41] *** storresi has quit IRC
[15:59:25] *** cornerman has quit IRC
[16:00:20] *** sixr420 has quit IRC
[16:01:32] *** tatanka has joined #angularjs
[16:01:43] <tatanka> hi
[16:02:01] <tatanka> what is the best ide for make app in angular 2 and node.js
[16:02:02] *** __danimal__ has quit IRC
[16:02:41] *** tatanka has quit IRC
[16:02:56] *** cornerman has joined #angularjs
[16:03:48] <Poeticode> If you're going with TypeScript, you really can't go wrong with your IDE. Sublime Text has good plugins for it, same with Visual Studio Code, Atom, etc
[16:03:56] *** Perseus0 has joined #angularjs
[16:04:30] *** regedit has joined #angularjs
[16:05:12] <senayar> they are not IDE
[16:05:17] <senayar> Webstorm is
[16:05:27] *** bartus has joined #angularjs
[16:05:41] *** punknroll has quit IRC
[16:06:23] <Poeticode> oops, yeah, my bad
[16:06:46] <Poeticode> I'm assuming tatanka just means code editors in general tho
[16:06:58] *** Es0teric has quit IRC
[16:06:59] *** ufk has joined #angularjs
[16:07:03] <ufk> hello
[16:07:28] *** pbgc has joined #angularjs
[16:07:50] *** zeezey has joined #angularjs
[16:09:30] <ufk> i use angular-route. whenever i switch view, i want the previous view to keep on running. the problem that i'm having is that when i get back to the view, the data is reset to the initial data
[16:09:59] *** ron_frown has joined #angularjs
[16:10:29] *** __danimal__ has joined #angularjs
[16:10:49] *** KAsp3rd has joined #angularjs
[16:11:05] *** Garfield-fr has quit IRC
[16:11:47] *** postsneakernet has joined #angularjs
[16:11:51] *** juro has joined #angularjs
[16:11:55] *** Ir1sh has joined #angularjs
[16:12:09] <bartus> Hey everyone. Needs a a sensible way to display the toolbar (angu-material) in air-mode. Or display toolbar, as a tooltip. Meybe someone Tried / seen something similar?
[16:12:14] *** Daerist` has quit IRC
[16:12:22] *** alvb has joined #angularjs
[16:12:30] *** Daerist has joined #angularjs
[16:12:35] *** dopesong has quit IRC
[16:12:47] *** Es0teric has joined #angularjs
[16:13:31] *** swordfish has joined #angularjs
[16:14:19] *** nerdfiles has quit IRC
[16:14:29] *** alvb has quit IRC
[16:14:54] *** swordfish has quit IRC
[16:15:01] *** swordfish has joined #angularjs
[16:16:33] *** owenjones has joined #angularjs
[16:17:05] *** ron_frown has quit IRC
[16:20:10] *** speeddragon has joined #angularjs
[16:21:10] *** owenjones has quit IRC
[16:21:11] *** bartus has quit IRC
[16:21:12] *** yeshacker has quit IRC
[16:21:17] *** drej has quit IRC
[16:22:58] *** smccarthy has joined #angularjs
[16:23:18] *** heyts has joined #angularjs
[16:24:12] *** asteele has joined #angularjs
[16:26:08] *** asteele has quit IRC
[16:26:40] *** h8tow8 has joined #angularjs
[16:28:02] *** Dmitri has quit IRC
[16:28:13] *** encryptd_fractal has joined #angularjs
[16:28:31] *** ashopin has joined #angularjs
[16:28:54] *** bayousoft has joined #angularjs
[16:29:41] *** Sharaal has quit IRC
[16:30:05] <ashopin> Hello everyone. I need a bit of help with Angular and jQuery. I'm moving a project over to Angular and it has about two dozen jQuery libs and files. They are in the <head> section of my index.html but they don't work. I've narrowed it down to $(document).ready not matching when my Angularjs is ready. I'm trying to figure out the correct way to implement external libraries. Any tips?
[16:30:32] *** h8tow8 has quit IRC
[16:32:26] *** sssilver has joined #angularjs
[16:33:29] <pe> ashopin: in the console, what is told ?
[16:33:46] <ashopin> pe: no errors.
[16:33:57] <pe> ashopin: go in the "network" area of the debugger, and check if "jquery" is correctly loaded
[16:34:04] <ashopin> pe: ok one sec
[16:34:37] *** brollypop has quit IRC
[16:34:40] <pe> ashopin: either ctrl + U (sources of page), and click on the jquery file to see if it is correctly included
[16:34:51] <ashopin> pe: yup, no problems, it loads
[16:35:43] <pe> ashopin: do you include it with <script src="jquery.js"></script> ? and where is located you $(document).ready ?
[16:35:47] <pe> and prefer to use
[16:35:52] *** DoubleAW has quit IRC
[16:35:59] <pe> $(function() { blabla });
[16:36:06] *** encryptd_fractal has quit IRC
[16:36:10] <pe> it's the same as $(document).ready(function() { });
[16:36:26] *** dascodeman has quit IRC
[16:37:16] *** koorb has quit IRC
[16:38:32] *** marc_v92 has joined #angularjs
[16:38:33] <ashopin> pe: I include it in the <head> above all other JS files. I have tried $(function()) and $(document).ready() and $(window).ready()
[16:38:48] *** icfantv has joined #angularjs
[16:39:12] *** steven_ has quit IRC
[16:39:31] *** steven_ has joined #angularjs
[16:39:34] <pe> ashopin: put <script>console.log('TEST'); $(function() { console.log('TEST OK'); });</script> before the </head>
[16:39:34] <ashopin> pe: I should clarify that if I put an alert or console log in the jquery, it works, but before Angular has pulled everything in so the selectors jquery is looking for don't exist yet.
[16:39:57] <pe> AH
[16:40:12] *** george_v has quit IRC
[16:40:38] *** Leon_ has joined #angularjs
[16:40:43] <pe> ashopin: you should use directives, it allows you to perform a call of js when the template is loaded
[16:40:53] <da_wunder> yep
[16:41:09] <da_wunder> basically you need to convert all that jquery stuff to directives
[16:41:15] <ashopin> That's what I'm reading but I'm missing something. Do I have to move all the JS from these files into the directives?
[16:41:19] <ashopin> :/ that's what I was afraid of
[16:41:35] <ashopin> Is htere a dumbway of adding a timeout to these to wait till the page is loaded? Is there a callback I can use?
[16:41:37] <pe> ashopin: you have to do a bridge at least
[16:41:47] <pe> ashopin: in the worst case, all copy in directives :/
[16:41:59] <da_wunder> yep
[16:42:18] <da_wunder> also you should look if there is already ng directives for those libs that you're using
[16:42:19] <pe> ashopin: there are tons of bridges of popular libraries
[16:42:26] <da_wunder> yep
[16:42:35] *** steven_ has quit IRC
[16:42:35] <ashopin> pe: copying into directives may work. Is it as simple as setting up the directive and copying and pasting
[16:42:42] <ashopin> Most of the JS are libraries, some are custom
[16:42:55] <ashopin> thank you both for the help btw, pe & da_wunder
[16:42:57] <da_wunder> example?
[16:43:09] <pe> ashopin: no pb
[16:43:11] *** DoubleAW has joined #angularjs
[16:43:24] <ashopin> da_wunder: they have a general.js that is for their mobile menu, a modal, notification popup, etc
[16:43:39] <da_wunder> modal as in bootstrap?
[16:44:01] <da_wunder> there is ton of libraries for modals, so please tell more
[16:44:16] <ashopin> da_wunder: yes actually, I just realized it is bootstrap
[16:44:22] <ashopin> Mobile menu is custom though
[16:44:32] <da_wunder> ok, there is angular stuff for bootstrap
[16:44:36] <da_wunder> that you can use
[16:44:58] <da_wunder> ashopin: https://angular-ui.github.io/bootstrap/
[16:45:08] *** soee has quit IRC
[16:45:53] <ashopin> Thanks!
[16:47:12] *** nerdfiles has joined #angularjs
[16:47:23] *** steven_ has joined #angularjs
[16:47:26] *** paolo has quit IRC
[16:48:44] *** paolo has joined #angularjs
[16:48:59] *** kuadrosx has joined #angularjs
[16:49:18] *** Bloomer has joined #angularjs
[16:49:39] <ashopin> If I use angular bootstrap, I'll still have to modify the HTML mark up no?
[16:50:19] *** corioliss has quit IRC
[16:51:01] *** soee has joined #angularjs
[16:51:31] *** cactauz has joined #angularjs
[16:51:35] *** atomicb0mb has joined #angularjs
[16:51:45] <da_wunder> ashopin: sure you need to make some changes
[16:51:46] <pe> ashopin: i would tell yes (i dont use it). they generaly wrap the library in a directive, but you will to use the good directive <my-bootstrap-element>
[16:51:51] *** marc_v92 has quit IRC
[16:52:01] *** juro has quit IRC
[16:52:02] <pe> *will have to
[16:52:27] *** rickmak_ has quit IRC
[16:52:37] *** asteele has joined #angularjs
[16:52:42] <da_wunder> see those examples to get some idea what you need to do with your existing code
[16:53:08] <da_wunder> and then rethink why you want to use angular, if your app is currently working
[16:53:24] <pe> someone has good pratices in angularjs to handle OAuth token in several tabs ?
[16:53:59] <pe> *token with refresh_token
[16:54:09] <da_wunder> attach that token in interceptor to every query, and that should do the trick
[16:54:39] *** asteele has quit IRC
[16:54:40] *** ahaeger has joined #angularjs
[16:55:38] <ashopin> da_wunder: Ok, thanks. I think I'm going to go back to adding a timeout on the existing code rather than changing libraries and markup. There are timeline factors forcing my hand.
[16:55:40] *** mandric has quit IRC
[16:55:43] *** rubyronin has joined #angularjs
[16:55:57] *** ahaeger has quit IRC
[16:56:13] *** ahaeger has joined #angularjs
[16:56:14] <da_wunder> and you know that isn't real way to do that
[16:56:19] *** rickmak_ has joined #angularjs
[16:56:39] *** mandric has joined #angularjs
[16:56:55] <da_wunder> what will you get to changing your current app to use angular, if you're not converting existing code?
[16:56:59] <da_wunder> what is the point?
[16:57:12] <da_wunder> + who's going to pay for that ?
[16:57:36] <da_wunder> eg. i wouldn't pay for that kind of transformation to angular
[16:59:30] <ashopin> da_wunder: ya understood. It's not going to be where it needs to be but we have phases and timelines for this project. It's a front-end heavy site moving from a custom CMS to Drupal so we're doing it headless using Angular
[16:59:55] *** Ir1sh has quit IRC
[17:00:02] <ashopin> Existing markup is being converted so that Drupal can feed Angular content but we're trying to keep as much of the existing structure and markup the same.
[17:00:32] *** mynameiswhat has quit IRC
[17:00:33] *** boneskull has joined #angularjs
[17:00:33] *** boneskull is now known as boneskull[away]
[17:03:12] *** vaddix has quit IRC
[17:03:51] *** swordfish has quit IRC
[17:04:28] *** batch422_ has joined #angularjs
[17:05:19] *** boneskull[away] has quit IRC
[17:05:29] *** asteele has joined #angularjs
[17:05:57] *** kramer65 has joined #angularjs
[17:05:59] *** fscala has quit IRC
[17:06:30] *** Odarys has quit IRC
[17:07:21] *** vaddix has joined #angularjs
[17:07:25] *** Odarys has joined #angularjs
[17:07:38] *** ahaeger has quit IRC
[17:07:55] *** doodlehaus has quit IRC
[17:08:07] *** batch4225 has quit IRC
[17:08:44] *** soee has quit IRC
[17:08:45] *** fscala has joined #angularjs
[17:10:14] *** marc_v92 has joined #angularjs
[17:10:49] *** asteele has quit IRC
[17:11:50] *** soee has joined #angularjs
[17:12:08] *** venkat_330 has quit IRC
[17:12:32] *** p0k0 has quit IRC
[17:12:44] *** Slizz3r has quit IRC
[17:13:29] *** tristanp has joined #angularjs
[17:14:13] *** doodlehaus has joined #angularjs
[17:15:17] *** beakman has joined #angularjs
[17:15:25] *** steven_ has quit IRC
[17:15:43] *** steven_ has joined #angularjs
[17:16:11] *** swordfish has joined #angularjs
[17:16:28] *** venkat_330 has joined #angularjs
[17:16:59] *** delgiudices has quit IRC
[17:17:34] *** dbclk has joined #angularjs
[17:17:39] *** kuadrosx has quit IRC
[17:17:45] *** Ir1sh has joined #angularjs
[17:17:59] *** tristanp has quit IRC
[17:18:04] *** regedit has quit IRC
[17:18:58] *** franzip has joined #angularjs
[17:20:15] *** Sky[x] has quit IRC
[17:20:55] *** asteele has joined #angularjs
[17:21:07] *** ringzer0 has joined #angularjs
[17:21:14] *** jstroem has quit IRC
[17:24:00] *** ufk has quit IRC
[17:24:27] *** Dekken has quit IRC
[17:24:37] *** soee has quit IRC
[17:24:43] *** __danimal__ has quit IRC
[17:25:29] *** codeitloadit has joined #angularjs
[17:25:41] *** vaddix has quit IRC
[17:26:35] *** __danimal__ has joined #angularjs
[17:26:48] *** mandric has quit IRC
[17:27:07] *** BigBangUDR has joined #angularjs
[17:27:18] *** step1step2 has joined #angularjs
[17:27:20] *** dan2k3k4 has quit IRC
[17:27:38] *** regedit has joined #angularjs
[17:27:40] *** vaddix has joined #angularjs
[17:27:49] *** ringzer0 has quit IRC
[17:28:16] *** bayousoft has quit IRC
[17:29:09] *** Pspfolio has joined #angularjs
[17:29:13] *** franzip has quit IRC
[17:29:50] *** BigBangUDR has quit IRC
[17:32:23] *** steven_ has quit IRC
[17:34:06] *** Coman has quit IRC
[17:34:58] *** delgiudices has joined #angularjs
[17:35:00] *** alnitak has joined #angularjs
[17:35:43] <alnitak> quick $resource question - the docs say that the $promise is *resolved* if there's an HTTP error, but the code suggests it's actually *rejected* (which I would prefer). Are the docs wrong?
[17:36:06] *** batch4225 has joined #angularjs
[17:37:09] *** tarnus has quit IRC
[17:37:27] *** mandric has joined #angularjs
[17:37:40] *** nerdfiles has quit IRC
[17:38:17] *** kramer65 has quit IRC
[17:39:47] <zomg> alnitak: I'm fairly sure the promise is rejected if you get an erroneous response
[17:40:20] *** batch422_ has quit IRC
[17:40:24] *** vaddix has quit IRC
[17:40:53] <alnitak> zomg: so the docs are wrong?
[17:41:05] *** marr has quit IRC
[17:41:11] *** nerdfiles has joined #angularjs
[17:41:30] <alnitak> zomg: "On failure, the promise is resolved with the http response object, without the resource property."
[17:43:02] <icebox> alnitak: rejecting a resource promise, it is a shortcut for what you read
[17:43:12] *** senayar has quit IRC
[17:43:12] *** owenjones has joined #angularjs
[17:44:44] *** tarnus has joined #angularjs
[17:45:23] <alnitak> icebox: I don't agree - "resolve" and "reject" are very specific terms of art with Promises, so saying it's "resolved" when in reality it's "rejected" is just plain wrong
[17:45:33] *** soee has joined #angularjs
[17:46:06] *** Slizz3r has joined #angularjs
[17:46:29] *** step1step2 has quit IRC
[17:47:23] *** bayousoft has joined #angularjs
[17:47:29] *** step1step2 has joined #angularjs
[17:47:30] *** erol has quit IRC
[17:48:19] *** soee has quit IRC
[17:48:23] *** vaddix has joined #angularjs
[17:48:50] *** erol has joined #angularjs
[17:48:59] <icebox> alnitak: was the question about an issue in the docs? does your use case fail in catching the errors?
[17:49:37] <alnitak> icebox: I was moving from $http to $resource but then the docs appeared to say that I'd no longer get a rejected promise on failure
[17:49:58] *** Leon_ has quit IRC
[17:50:10] <icebox> alnitak: the behaviour is the same
[17:50:23] *** bchoate_ has quit IRC
[17:50:32] <alnitak> I'll raise an issue on github
[17:50:32] *** hefox has joined #angularjs
[17:51:02] <icebox> alnitak: yes, please
[17:52:19] <alnitak> icebox: done - https://github.com/angular/angular.js/issues/13624
[17:52:36] *** DeoSama has joined #angularjs
[17:52:37] *** zz_dimtruck is now known as dimtruck
[17:52:44] <icebox> alnitak, thanks for the detail
[17:53:01] <alnitak> icebox: are you an Angular dev?
[17:53:09] <icebox> alnitak: no
[17:53:10] *** Jusuchin has joined #angularjs
[17:53:22] <alnitak> icebox: thanks for the help anyway :)
[17:53:45] *** dpicky has quit IRC
[17:53:57] *** postsneakernet has quit IRC
[17:53:59] <Jusuchin> question - if I declare $scope.$watchGroup for same two values multiple times (on a load data call), will the instance of the watchGroup just be reset or multiple instances created every time?
[17:56:09] *** bchoate has joined #angularjs
[17:56:29] *** dpicky has joined #angularjs
[17:57:12] *** Dmitri has joined #angularjs
[17:57:23] *** prbc has joined #angularjs
[17:58:02] *** marthinal has quit IRC
[17:58:30] *** DeoSama has quit IRC
[17:59:57] *** alnitak has quit IRC
[17:59:57] *** Debnet has quit IRC
[18:00:22] *** Hounddog has quit IRC
[18:00:59] *** owenjones has quit IRC
[18:01:35] *** ctanga has joined #angularjs
[18:01:44] *** Dmitri has quit IRC
[18:02:32] *** cotko has quit IRC
[18:02:49] *** dimtruck is now known as zz_dimtruck
[18:04:48] *** mandric has quit IRC
[18:06:00] *** vaddix has quit IRC
[18:07:32] *** vaddix has joined #angularjs
[18:10:12] *** rickmak_ has quit IRC
[18:10:43] <ekarlso> so in angular2 if you want to have a nav directive does that need to be inside the router-outlet ?
[18:11:03] *** step1step2 has quit IRC
[18:11:13] *** rickmak_ has joined #angularjs
[18:11:16] *** edrocks__ has quit IRC
[18:12:00] *** step1step2 has joined #angularjs
[18:12:59] *** owenjones has joined #angularjs
[18:13:01] *** silvagpe has joined #angularjs
[18:13:15] *** soee has joined #angularjs
[18:13:51] *** marthinal has joined #angularjs
[18:13:59] *** cactauz has quit IRC
[18:14:00] <silvagpe> hi, anyone know how can I architec a long code?
[18:14:10] <archon-> huh?
[18:15:09] <silvagpe> The best way to build a large application
[18:15:26] <archon-> depends on the application
[18:15:37] *** swordfish has quit IRC
[18:15:37] *** Aliks has joined #angularjs
[18:15:52] <silvagpe> Exemple, 1 controller per page?
[18:17:23] *** ctanga has quit IRC
[18:17:36] <archon-> sure
[18:17:41] <silvagpe> I make a sales page. In this page have much methods
[18:17:53] *** sigurding has quit IRC
[18:19:29] *** syzygy_ has joined #angularjs
[18:19:55] *** Aliks has quit IRC
[18:20:06] *** kirobaito has joined #angularjs
[18:20:07] *** prbc has quit IRC
[18:20:11] *** ziro` has quit IRC
[18:20:59] *** step1step2 has quit IRC
[18:21:11] *** syzygy_ has quit IRC
[18:21:42] *** beakman has quit IRC
[18:21:58] *** step1step2 has joined #angularjs
[18:22:44] *** Pspfolio has quit IRC
[18:22:55] *** xabner has joined #angularjs
[18:24:44] *** sbellina has joined #angularjs
[18:24:47] <ekarlso> https://gitlab.com/creator-makerspace/members-ui/blob/master/src/app/seed-app.html#L26 < anyone know why this fails with http://pastebin.com/UEF77iV9 ?
[18:24:49] *** xabner_ has joined #angularjs
[18:24:56] *** xabner has quit IRC
[18:25:22] *** xabner_ has quit IRC
[18:25:40] *** xabner has joined #angularjs
[18:25:43] *** vaddix has quit IRC
[18:25:49] *** kramer65 has joined #angularjs
[18:26:16] *** swordfish has joined #angularjs
[18:26:59] *** vaddix has joined #angularjs
[18:27:39] *** mike_ has joined #angularjs
[18:28:03] *** mike_ is now known as Guest15105
[18:28:50] *** sobol has joined #angularjs
[18:30:17] <ekarlso> noone knows ng2 ?
[18:31:01] <silvagpe> My concern is to have a very large code and difficul to give maintenance
[18:31:33] <icebox> silvagpe, you may give a look at a code guide style, by John Papa, Todd Motto or Minko Gechev
[18:31:38] *** dora has joined #angularjs
[18:32:01] <ekarlso> icebox: u know ng2 ? p
[18:32:04] *** prbc has joined #angularjs
[18:32:07] <icebox> ekarlso, yep
[18:32:13] <silvagpe> tnks!
[18:32:17] <ekarlso> care to take a look icebox ? :o
[18:32:20] <icebox> ekarlso, no time
[18:32:23] <ekarlso> probably smth silly :|
[18:32:26] <ekarlso> icebox: meh :P
[18:32:41] *** dora has left #angularjs
[18:32:54] <silvagpe> this? https://github.com/johnpapa/angular-styleguide
[18:33:09] <icebox> silvagpe, yep, for instance
[18:33:20] <silvagpe> =) tnks
[18:33:29] *** xfurious has quit IRC
[18:34:14] *** aks has quit IRC
[18:35:26] *** tzahush has joined #angularjs
[18:36:08] *** iraj_ has joined #angularjs
[18:36:27] <tzahush> hey guys, what would be the accepted way of saving if you are connected or not? what i mean by that is i am using node.js as server side, and once authed i'll send to the client saying its authed, but how would i keep that variable? would it be better off as a cockie?
[18:37:19] *** aks has joined #angularjs
[18:37:46] <archon-> generally by using sessions stored in cookies
[18:38:18] *** hackel has joined #angularjs
[18:38:24] <tzahush> what do you mean by sessions stored in cockied?
[18:38:27] *** \du has quit IRC
[18:38:29] <tzahush> cookies*
[18:38:57] <archon-> when the client authenticates you create a session with an id stored on your server. you give that id to the client and they store it in a cookie
[18:39:30] *** ahaeger has joined #angularjs
[18:39:44] <tzahush> I see, would you know if passport.js generates a session id?
[18:39:51] <archon-> never heard of it
[18:40:12] <tzahush> ok, thanks
[18:40:54] *** x3al_ has quit IRC
[18:41:15] *** codeitloadit has quit IRC
[18:41:18] *** x3al_ has joined #angularjs
[18:41:23] *** marthinal has quit IRC
[18:41:27] *** chairmanmow has joined #angularjs
[18:41:50] *** erol has quit IRC
[18:42:00] *** Voyage has joined #angularjs
[18:42:50] *** xabner has quit IRC
[18:43:13] *** regedit has quit IRC
[18:44:40] *** vaddix has quit IRC
[18:44:52] *** marr has joined #angularjs
[18:46:20] *** vaddix has joined #angularjs
[18:46:31] *** cactauz has joined #angularjs
[18:46:41] *** Slizz3r has quit IRC
[18:46:43] *** guilbep has quit IRC
[18:46:48] *** Poeticode has quit IRC
[18:48:24] *** juro has joined #angularjs
[18:49:18] *** dopesong has joined #angularjs
[18:49:26] *** marthinal has joined #angularjs
[18:49:37] *** junmin has quit IRC
[18:51:11] *** Sky[x] has joined #angularjs
[18:51:26] *** hex` has quit IRC
[18:52:07] *** postsneakernet has joined #angularjs
[18:52:23] *** atomicb0mb has quit IRC
[18:52:28] *** steven_ has joined #angularjs
[18:52:44] *** vandyk has quit IRC
[18:53:11] *** pe has quit IRC
[18:53:47] *** dopesong has quit IRC
[18:53:50] *** marthinal has quit IRC
[18:54:01] *** dopesong has joined #angularjs
[18:54:26] *** aks has quit IRC
[18:54:28] *** erol has joined #angularjs
[18:54:45] *** Tennis has quit IRC
[18:55:17] <tzahush> archon-: Still here man?
[18:55:29] *** dpicky has quit IRC
[18:55:40] *** aks has joined #angularjs
[18:56:17] <archon-> yes
[18:56:24] *** ahaeger has quit IRC
[18:56:27] *** Aliks has joined #angularjs
[18:56:45] *** postsneakernet has quit IRC
[18:56:49] <tzahush> I was wondering, how would i now clientside that the client is connected? i mean server side i know that.
[18:56:53] <tzahush> know*
[18:56:59] *** dpicky has joined #angularjs
[18:56:59] <tzahush> should i just check if the cookie exists?
[18:57:01] *** dpicky has quit IRC
[18:57:08] <archon-> connected?
[18:57:26] *** steven_ has quit IRC
[18:57:27] <tzahush> i mean after logging in i got a cookie stored, should i just check if it exists?
[18:57:55] <archon-> just send it with each request. the server should respond with whether or not the session is valid
[18:57:58] *** aks has quit IRC
[18:58:06] *** marc_v92 has quit IRC
[18:58:19] <archon-> and it should expire after a certain amount of time
[18:58:27] *** cacts has joined #angularjs
[18:58:35] *** vaddix has quit IRC
[18:58:40] <tzahush> yeah of course, but is it good sending it every request? i mean thats a lot of data
[18:58:42] *** mary5030 has joined #angularjs
[18:59:02] *** mary5030 has quit IRC
[18:59:27] *** prbc has quit IRC
[18:59:35] *** mary5030 has joined #angularjs
[18:59:54] *** Jeroendl has quit IRC
[19:01:22] *** jordy2505 has joined #angularjs
[19:02:14] *** jordy2505 has left #angularjs
[19:02:39] *** tzahush has quit IRC
[19:02:56] <ashopin> I feel a bit dumb but I need help with my router. I have one state that is made up of 3 views. I want to share a controller across all three of them but the way I have it now calls the controller 3 times: http://pastebin.com/fSw6G03H . I have a feeling I'm not doing this properly
[19:03:59] *** syzygy_ has joined #angularjs
[19:04:06] <ashopin> I've tried moving my controller outside of the views but then my data does not end up loading
[19:04:20] <Jusuchin> ashopin: that's not the routing i'm used to, you aren't using $routeProvider?
[19:04:39] <ashopin> Jusuchin: sorry, I probably said it wrong. I'm using state Provider
[19:04:51] *** hex` has joined #angularjs
[19:05:14] <Jusuchin> oh, ok because otherwise I was going to say, for example my code: http://pastebin.com/t8TSbwPq
[19:05:33] <Jusuchin> both use same controller and work fine
[19:06:03] <ashopin> I think with states it's a bit different
[19:06:11] <Jusuchin> yep sry haven't used
[19:06:17] <ashopin> thanks though
[19:06:40] *** ziro` has joined #angularjs
[19:06:43] *** skoTner has joined #angularjs
[19:06:54] <skoTner> :)
[19:07:10] *** cactauz has quit IRC
[19:08:05] *** zdman135 has joined #angularjs
[19:09:03] *** edrocks_ has joined #angularjs
[19:09:04] *** Garfield-fr has joined #angularjs
[19:09:44] *** cactauz has joined #angularjs
[19:10:00] *** pbgc has quit IRC
[19:10:31] *** vaddix has joined #angularjs
[19:13:08] *** Siva has joined #angularjs
[19:13:25] <Siva> join
[19:13:32] *** Siva is now known as Guest35325
[19:13:33] <Guest35325> hello any one here
[19:13:40] *** skoTner has quit IRC
[19:13:47] <ashopin> Approx 652 people here
[19:13:53] *** cacts|wtf has joined #angularjs
[19:14:11] <Guest35325> HEHEHEHE
[19:14:22] *** zz_dimtruck is now known as dimtruck
[19:14:41] *** ziro` has quit IRC
[19:14:46] <Guest35325> can anyone help me in understanding use of $scope
[19:15:24] *** zdman135 has quit IRC
[19:15:28] *** ringzer0 has joined #angularjs
[19:16:35] *** cactauz has quit IRC
[19:17:08] *** Guest15105 has quit IRC
[19:17:22] <Guest35325> anyone
[19:17:30] *** Zalabinsky has joined #angularjs
[19:17:41] <icebox> Guest35325: https://docs.angularjs.org/guide/scope
[19:18:36] <Guest35325> icebox can you tell me in simple terms
[19:18:41] *** zdman135 has joined #angularjs
[19:18:55] *** vaddix has quit IRC
[19:19:27] *** bayousoft has quit IRC
[19:20:06] *** step1step2 has quit IRC
[19:20:17] <icebox> Guest35325: after reading the docs, what did you understand about the scope?
[19:20:23] *** junmin has joined #angularjs
[19:20:58] *** junmin has joined #angularjs
[19:20:58] *** erol has quit IRC
[19:21:16] *** ziro` has joined #angularjs
[19:22:13] <Guest35325> icebox : I related it to variable scope in c programming language....Where scope of particular variables will be within those braces
[19:23:05] *** iateadonut has quit IRC
[19:23:53] *** step1step2 has joined #angularjs
[19:24:09] <icebox> Guest35325: $scope is not about AST of a language... read again that doc :)
[19:24:10] *** delgiudices has quit IRC
[19:25:02] <Guest35325> ;)
[19:25:21] *** erol has joined #angularjs
[19:25:31] *** cacts has quit IRC
[19:25:38] *** silvagpe has quit IRC
[19:25:48] <nicksloan-> I have to use a widget that is loaded into the page at the point where the <script> tag is placed. Unfortunately it seems that script tags are ignored within templates, even when hardcoded in. Is there an alternative solution to this?
[19:25:59] *** diosney has quit IRC
[19:27:12] *** vaddix has joined #angularjs
[19:28:23] *** codeitloadit has joined #angularjs
[19:28:35] *** diosney has joined #angularjs
[19:28:38] *** zdman135 has quit IRC
[19:28:43] *** speeddragon has quit IRC
[19:29:26] *** zdman135 has joined #angularjs
[19:30:35] *** heyts has quit IRC
[19:30:36] *** laokoala has quit IRC
[19:30:38] *** speeddragon has joined #angularjs
[19:31:00] *** Aliks has quit IRC
[19:32:31] *** conan_the_destro has joined #angularjs
[19:33:29] *** vaddix has quit IRC
[19:33:37] *** breakingthings has joined #angularjs
[19:34:56] *** geoid has joined #angularjs
[19:35:34] *** vaddix has joined #angularjs
[19:36:17] *** Perseus0 has quit IRC
[19:36:59] *** edrocks__ has joined #angularjs
[19:37:44] *** marthinal has joined #angularjs
[19:38:22] *** edrocks_ has quit IRC
[19:38:48] *** rubyronin has quit IRC
[19:38:56] *** zdman135 has quit IRC
[19:39:19] *** edrocks_ has joined #angularjs
[19:39:31] *** doodlehaus has quit IRC
[19:40:09] *** Guest35325 has quit IRC
[19:41:27] *** jhirley has joined #angularjs
[19:41:42] *** edrocks__ has quit IRC
[19:42:49] *** postsneakernet has joined #angularjs
[19:44:34] *** Perseus0 has joined #angularjs
[19:44:35] *** prbc has joined #angularjs
[19:44:52] *** sssilver has quit IRC
[19:45:11] *** dman777_alter has joined #angularjs
[19:45:24] *** dascodeman has joined #angularjs
[19:46:54] *** atomicb0mb has joined #angularjs
[19:48:00] *** step1step2 has quit IRC
[19:48:00] *** vaddix has quit IRC
[19:48:18] *** juro has left #angularjs
[19:49:07] *** step1step2 has joined #angularjs
[19:50:52] *** codeitloadit has quit IRC
[19:51:22] <tritian> I'm trying to use a Service as a model. there are three controllers inject this service. one controller is in the same module as the service, the other two arent. When I update the service model, I expect the things to update in the other controllers that are bound to data in that serivce but they dont. I look and see that the data is update in the serive though... why wont these other controllers update?
[19:52:15] *** Circlefusion has quit IRC
[19:52:36] *** breakingthings has quit IRC
[19:53:35] *** step1step2 has quit IRC
[19:54:32] *** zdman135 has joined #angularjs
[19:54:32] *** rickmak_ has quit IRC
[19:54:53] *** step1step2 has joined #angularjs
[19:55:15] *** nate_c has joined #angularjs
[19:55:56] *** vaddix has joined #angularjs
[19:56:12] *** rickmak has joined #angularjs
[19:56:16] *** Ir1sh has quit IRC
[19:57:10] *** postsneakernet has quit IRC
[19:57:23] *** rickmak has quit IRC
[19:57:36] *** Circlefusion has joined #angularjs
[19:57:46] *** Aliks has joined #angularjs
[19:58:42] *** codeitloadit has joined #angularjs
[19:59:03] *** atomicb0mb has quit IRC
[19:59:18] *** postsneakernet has joined #angularjs
[19:59:24] *** zdman135 has quit IRC
[19:59:59] *** zdman135 has joined #angularjs
[20:00:11] *** hackel has quit IRC
[20:02:08] *** step1step2 has quit IRC
[20:03:09] *** step1step2 has joined #angularjs
[20:04:14] *** sergey_ has joined #angularjs
[20:05:15] *** rickmak has joined #angularjs
[20:05:59] *** speeddragon has quit IRC
[20:06:24] *** dopesong_ has joined #angularjs
[20:07:51] *** joshontheweb has quit IRC
[20:07:53] *** LeBlaaanc has joined #angularjs
[20:07:54] *** B1x1t0 has quit IRC
[20:07:55] *** dopeson__ has joined #angularjs
[20:08:17] *** Perseus0 has quit IRC
[20:08:22] *** codeitloadit has quit IRC
[20:08:24] *** vaddix has quit IRC
[20:08:30] *** dopesong has quit IRC
[20:09:00] *** step1step2 has quit IRC
[20:09:38] *** soee_ has joined #angularjs
[20:09:49] *** dopeson__ has quit IRC
[20:10:02] *** step1step2 has joined #angularjs
[20:10:09] *** dopesong has joined #angularjs
[20:10:10] *** Hassan has joined #angularjs
[20:12:04] *** LeBlaaanc has quit IRC
[20:12:16] *** dopesong has quit IRC
[20:12:20] *** dopesong_ has quit IRC
[20:12:21] *** Coldblackice has joined #angularjs
[20:12:28] *** dopesong has joined #angularjs
[20:13:05] *** Ir1sh has joined #angularjs
[20:13:28] *** sobol has quit IRC
[20:13:39] *** dopesong has quit IRC
[20:13:40] *** soee has quit IRC
[20:13:57] *** Bloomer has quit IRC
[20:14:21] *** Hassan has quit IRC
[20:15:48] *** dopesong has joined #angularjs
[20:16:12] *** step1step2 has quit IRC
[20:16:25] *** josh_ has joined #angularjs
[20:16:35] *** vaddix has joined #angularjs
[20:17:12] *** AxldenieD has joined #angularjs
[20:17:13] *** step1step2 has joined #angularjs
[20:17:15] *** dopesong_ has joined #angularjs
[20:17:36] <icebox> tritian: surely, you are breaking the reference
[20:17:38] *** ziro` has quit IRC
[20:18:04] <icebox> tritian: be aware when you update the object/array in the service
[20:18:04] *** rud has quit IRC
[20:18:09] *** angularjs_bot has quit IRC
[20:18:16] *** angularjs_bot has joined #angularjs
[20:18:20] *** LeBlaaanc has joined #angularjs
[20:18:21] *** pimlu has joined #angularjs
[20:18:27] <icebox> tritian: you cannot do data = newdata;
[20:18:58] *** step1step2 has quit IRC
[20:19:53] *** dopesong has quit IRC
[20:20:03] *** dopeson__ has joined #angularjs
[20:20:11] *** greengriminal has joined #angularjs
[20:20:19] *** Aliks has quit IRC
[20:20:31] *** step1step2 has joined #angularjs
[20:20:35] *** edrocks_ has quit IRC
[20:21:08] *** dopesong_ has quit IRC
[20:21:11] <icebox> tritian: you may give a look at angular.extend or angular.merge
[20:21:22] *** Aliks has joined #angularjs
[20:21:41] *** dopesong has joined #angularjs
[20:24:18] *** soee has joined #angularjs
[20:24:26] *** rud has joined #angularjs
[20:25:05] <tritian> alright thank you, i'll take a look
[20:25:10] *** dopeson__ has quit IRC
[20:25:55] *** soee_ has quit IRC
[20:27:46] *** vaddix has quit IRC
[20:29:06] *** cacts|wtf has quit IRC
[20:29:14] *** tristanp has joined #angularjs
[20:29:17] *** syzygy_ has quit IRC
[20:30:06] <morissette> ngrepeat should work on an array of objects right?
[20:30:30] <Jusuchin> how're you setting it up?
[20:30:36] <morissette> or does it have to be a object of objects?
[20:31:06] *** rud has quit IRC
[20:31:36] <morissette> setting it up pretty simple
[20:31:46] *** rickmak has quit IRC
[20:31:56] <morissette> $scope.var = [{'prop
[20:32:05] <morissette> ':'val'}]
[20:32:14] *** geoid has quit IRC
[20:32:39] <morissette> http://paste.linux.chat/view/bdcf7294
[20:33:06] <morissette> view: http://paste.linux.chat/view/9433611d
[20:33:17] <morissette> (controller set in route)
[20:35:43] <morissette> nvm
[20:35:50] <morissette> too much context switching w/ languages
[20:36:13] *** vaddix has joined #angularjs
[20:37:25] *** swordfish has quit IRC
[20:37:53] *** edrocks_ has joined #angularjs
[20:38:34] *** rud has joined #angularjs
[20:40:06] *** delgiudices has joined #angularjs
[20:40:21] *** ike_ has joined #angularjs
[20:40:23] *** doodlehaus has joined #angularjs
[20:40:37] *** geoid has joined #angularjs
[20:41:34] *** hackel has joined #angularjs
[20:42:39] *** Voyage has quit IRC
[20:42:58] *** vaddix has quit IRC
[20:43:45] *** doginal has joined #angularjs
[20:43:47] *** Aliks has quit IRC
[20:44:36] *** doodleha_ has joined #angularjs
[20:44:44] *** doodlehaus has quit IRC
[20:46:21] *** step1step2 has quit IRC
[20:46:26] *** Guest83 has joined #angularjs
[20:46:29] *** CAPITANOOO has joined #angularjs
[20:46:33] *** vaddix has joined #angularjs
[20:47:08] *** Juergen4711 has joined #angularjs
[20:48:15] *** italoacasas has quit IRC
[20:48:22] <Jusuchin> anyone know for ui-grid if the gridApi becomes available only upon 'onRegisterApi' loads up?
[20:48:30] *** step1step2 has joined #angularjs
[20:48:31] *** codeitloadit has joined #angularjs
[20:49:05] *** step1step2 has quit IRC
[20:49:06] *** civos has joined #angularjs
[20:49:42] *** CAPITANOOO has quit IRC
[20:50:15] *** Maxxed_ is now known as Maxxed
[20:51:15] *** nate_c has quit IRC
[20:51:19] *** step1step2 has joined #angularjs
[20:52:34] *** moei has quit IRC
[20:52:39] *** dpicky has joined #angularjs
[20:53:41] *** step1step2 has joined #angularjs
[20:53:59] *** rho has quit IRC
[20:54:26] *** step1step2 has quit IRC
[20:55:26] *** delgiudices has quit IRC
[20:56:42] *** step1step2 has joined #angularjs
[20:56:49] *** blackjid has quit IRC
[20:57:20] *** step1step2 has quit IRC
[20:57:45] *** delgiudices has joined #angularjs
[20:58:10] *** blackjid has joined #angularjs
[20:58:29] *** italoacasas has joined #angularjs
[20:58:45] *** wafflejock has joined #angularjs
[20:58:58] *** step1step2 has joined #angularjs
[20:59:28] *** sergey_ has quit IRC
[21:00:12] *** sergey_ has joined #angularjs
[21:00:51] *** Guest83 has quit IRC
[21:01:28] *** step1step2 has joined #angularjs
[21:01:36] *** zeezey has quit IRC
[21:01:36] *** zeezey has joined #angularjs
[21:01:43] *** step1step2 has quit IRC
[21:02:09] *** nate_c has joined #angularjs
[21:02:14] *** vaddix has quit IRC
[21:02:56] *** Aliks has joined #angularjs
[21:03:02] *** delgiudices has quit IRC
[21:03:20] *** step1step2 has joined #angularjs
[21:03:33] *** squeakytoy has joined #angularjs
[21:03:37] *** kuadrosx has joined #angularjs
[21:04:11] *** Sky[x] has quit IRC
[21:04:12] *** icfantv has quit IRC
[21:06:04] *** ziro` has joined #angularjs
[21:06:45] *** speeddragon has joined #angularjs
[21:08:29] *** lemonsparrow has joined #angularjs
[21:10:33] *** Es0teric has quit IRC
[21:10:48] *** dopesong_ has joined #angularjs
[21:11:43] *** speeddragon has quit IRC
[21:11:51] *** dopesong has quit IRC
[21:12:01] *** owenjones has quit IRC
[21:12:29] *** dopesong has joined #angularjs
[21:12:46] *** owenjones has joined #angularjs
[21:12:52] *** toadskin has joined #angularjs
[21:13:01] *** prbc has quit IRC
[21:13:10] *** cacts has joined #angularjs
[21:13:50] *** kramer65 has quit IRC
[21:13:53] <toadskin> Installed the beta and getting http.get(...).map(... is not a function. The http.get(...) returns an Observer with no operators (e.g., map)
[21:15:31] *** kgee has joined #angularjs
[21:15:59] *** dopesong_ has quit IRC
[21:16:26] *** delgiudices has joined #angularjs
[21:16:28] *** edrocks_ has joined #angularjs
[21:17:14] *** vaddix has joined #angularjs
[21:18:38] *** owenjone_ has joined #angularjs
[21:18:53] *** edrocks__ has joined #angularjs
[21:19:37] *** lemonsparrow has quit IRC
[21:19:48] *** owenjones has quit IRC
[21:20:33] *** Poeticode has joined #angularjs
[21:20:53] *** erol has quit IRC
[21:21:16] *** edrocks_ has quit IRC
[21:21:39] *** jae has joined #angularjs
[21:22:16] *** jae has quit IRC
[21:23:47] *** marcdel has joined #angularjs
[21:24:20] *** prbc has joined #angularjs
[21:24:38] *** marthinal has quit IRC
[21:24:54] *** Ir1sh has quit IRC
[21:26:02] *** swordfish has joined #angularjs
[21:26:08] *** edrocks_ has joined #angularjs
[21:28:05] *** edrocks_ has quit IRC
[21:28:31] *** edrocks__ has quit IRC
[21:28:31] *** step1step2 has quit IRC
[21:28:38] *** marcdel has quit IRC
[21:28:56] *** marcdel has joined #angularjs
[21:28:56] *** smw has quit IRC
[21:28:59] *** marcdel has quit IRC
[21:29:28] *** step1step2 has joined #angularjs
[21:29:35] *** marcdel has joined #angularjs
[21:29:39] *** geoid has quit IRC
[21:29:56] *** marcdel has joined #angularjs
[21:30:00] *** marcdel has quit IRC
[21:30:01] *** FlavioZ_ has joined #angularjs
[21:30:18] *** delgiudices has quit IRC
[21:30:20] *** josh_ has quit IRC
[21:30:36] *** marcdel has joined #angularjs
[21:31:17] *** marcdel has joined #angularjs
[21:31:19] *** toadskin has quit IRC
[21:32:20] *** zdman135 has quit IRC
[21:32:26] *** drej has joined #angularjs
[21:34:04] *** Dmitri has joined #angularjs
[21:34:13] *** erol has joined #angularjs
[21:34:17] <FlavioZ_> Hello everyone, I am building a simple angular website. I would like to server pictures via apis. I have an account with cloudinary, but I can't get my head around how to proceed? I have been reading about NodeJs and Express, any advice is welcome
[21:34:54] *** doodleha_ has quit IRC
[21:36:03] *** kgee has quit IRC
[21:36:12] *** delgiudices has joined #angularjs
[21:36:14] *** vaddix has quit IRC
[21:36:25] *** doodlehaus has joined #angularjs
[21:38:15] *** Dmitri has quit IRC
[21:40:37] *** __danimal__ has quit IRC
[21:42:14] <ekarlso> anyone know how to center a form in bs? http://pastebin.com/Hi9UDx9A < is the form
[21:43:15] <wafflejock> ekarlso: can try text-center on the parent, that will set text-align:center, otherwise sometimes still need margin:auto on things like tables to center them
[21:44:00] *** vaddix has joined #angularjs
[21:44:16] <wafflejock> FlavioZ_: typically just use regular img src to load in images if they're base64 encoded or something an write a directive that takes the base64 string and sets up the URI for the src on the image to show it that way
[21:44:31] <wafflejock> s/an/can/
[21:45:07] *** dman777_alter has quit IRC
[21:45:15] <ekarlso> not center-block ?
[21:45:26] <wafflejock> ekarlso: never used that one actually so dunno what it does
[21:46:15] <ekarlso> text center on the row wafflejock ?
[21:47:03] <wafflejock> ekarlso: yeah that's where I'd try it, centering things always takes some fiddling though
[21:47:57] <wafflejock> flexbox is great for all the alignment and spacing stuff built in but still has it's own bugs/weirdness
[21:48:32] *** JeroenDL has joined #angularjs
[21:49:54] *** SaintMoriarty has joined #angularjs
[21:50:02] *** SaintMoriarty has quit IRC
[21:51:17] <FlavioZ_> wafflejock: That makes sense. I wanted to use apis so it would be easy for me to add pictures to the external service , and just retrieve them. Otherwise, I would have to push my code with every new picture. I have not problem with that, but since I am learning I wanted to build something api driven
[21:51:36] <ekarlso> wafflejock: emh, this is hopeless :p
[21:52:14] <wafflejock> ekarlso: hmm if you check the size of the thing you're trying to center does it appear to fill the space?
[21:52:21] *** morissette has quit IRC
[21:52:31] <wafflejock> ekarlso: you may need a display:inline-block instead of display:block on something so it doesn't fill in the space
[21:53:39] <wafflejock> FlavioZ_: yeah you'll just need to write the service part that calls to the API to get the data for what images to show but should basically just be an ng-repeat with an img tag in there to iterate over the set of images returned
[21:53:45] *** zeioth_ has joined #angularjs
[21:54:07] <ekarlso> it's not I feel that I suck wafflejock at webdesign :P
[21:54:09] *** ziro` has quit IRC
[21:54:22] *** airtonix has quit IRC
[21:54:23] *** ashopin has quit IRC
[21:55:39] <FlavioZ_> wafflejock: It does not sound so hard, I was thinking something more complicated
[21:56:22] *** gambl0re has left #angularjs
[21:56:23] *** airtonix has joined #angularjs
[21:56:38] *** vaddix has quit IRC
[21:56:49] <wafflejock> FlavioZ_: yeah feel like angular is conceptually kind of difficult and can have some weird issues with watching things and how you update things but lots of stuff like what you want to do is typically trivial when it comes to the code that needs to be written
[21:57:18] *** heyts has joined #angularjs
[21:58:54] *** delgiudices has quit IRC
[21:58:58] *** kgee has joined #angularjs
[22:00:15] *** erol has quit IRC
[22:01:43] <ekarlso> wafflejock: suggestions ?
[22:02:27] <FlavioZ_> wafflejock: Specially documentation, I can't never understand it. Probably because English is my second language, thank you though. Your answer was very helpful
[22:02:33] <wafflejock> ekarlso: not really sure can take a look a little later, but in the middle of some stuff here too will try you when I get some of this stuff done and have a lull
[22:03:10] *** _yxa has joined #angularjs
[22:03:22] *** doodlehaus has quit IRC
[22:03:46] *** doodlehaus has joined #angularjs
[22:04:13] *** tarnus has quit IRC
[22:04:22] *** vaddix has joined #angularjs
[22:05:21] *** BahamutWC|Laptop has quit IRC
[22:06:17] *** tarnus has joined #angularjs
[22:08:13] *** _yxa has quit IRC
[22:10:09] *** swordfish has quit IRC
[22:10:41] *** dascodeman has quit IRC
[22:13:03] *** erol has joined #angularjs
[22:14:16] *** zac has quit IRC
[22:14:32] *** shiriru has joined #angularjs
[22:14:59] *** swordfish has joined #angularjs
[22:15:18] *** shiriru has quit IRC
[22:15:28] *** telega has joined #angularjs
[22:15:54] *** vaddix has quit IRC
[22:15:55] *** elyssonmr has quit IRC
[22:16:03] *** JeroenDL has quit IRC
[22:18:10] *** leolrrj-alt has joined #angularjs
[22:18:14] *** Jusuchin has quit IRC
[22:18:43] *** fedenunez has quit IRC
[22:18:45] *** mary5030_ has joined #angularjs
[22:19:11] *** leolrrj has quit IRC
[22:19:34] *** alessandro1997 has joined #angularjs
[22:19:44] *** ziro` has joined #angularjs
[22:19:47] *** cocao1 has joined #angularjs
[22:19:48] *** fedenunez has joined #angularjs
[22:20:05] *** Aliks has quit IRC
[22:20:44] *** dszmaj has quit IRC
[22:21:02] *** drej has quit IRC
[22:22:14] *** mary5030 has quit IRC
[22:23:35] *** heyts has quit IRC
[22:24:02] *** cocao1 has quit IRC
[22:24:05] *** heyts has joined #angularjs
[22:24:32] *** Guest83 has joined #angularjs
[22:26:45] *** FlavioZ_ has quit IRC
[22:28:09] <ziro`> How are we meant to interpret urls for angular2 apps?
[22:28:20] <ziro`> Just blanket forward all urls to an index.html?
[22:28:47] <ziro`> without the #/ the browser is non-the-wiser
[22:28:57] *** moei has joined #angularjs
[22:30:32] *** JJFad has joined #angularjs
[22:33:26] *** chairmanmow has quit IRC
[22:33:35] *** syzygy_ has joined #angularjs
[22:34:53] *** EndStop has joined #angularjs
[22:34:59] <EndStop> anybody online ?
[22:35:10] *** sbellina has quit IRC
[22:35:21] <EndStop> any idea on how can i make an angularjs website seo friendly ?
[22:35:45] <EndStop> i tried using prerender .. but it doesn't work ..
[22:35:47] *** JJFad has quit IRC
[22:36:01] *** sergey_ has quit IRC
[22:37:03] *** angasule has joined #angularjs
[22:38:11] *** conan_the_destro has quit IRC
[22:39:10] *** owenjone_ has quit IRC
[22:39:26] *** doodlehaus has quit IRC
[22:40:59] *** mary5030_ has quit IRC
[22:41:24] *** vaddix has joined #angularjs
[22:41:36] <amergin> doesn't work how
[22:41:47] *** mary5030 has joined #angularjs
[22:42:10] *** mary5030 has quit IRC
[22:42:25] <angasule> I'm working on a single sign on where I redirect the user to the auth site (that I have no control over) and the auth site then redirects them back to a provided URL with "?secret=something" tacked at the end (and I need to grab that secret to properly authenticate). The problem I'm having is that I can't ask to be redirected to "myapp/#/whatever" because anything after the # gets dropped, but I also can't seem to get
[22:42:26] <angasule> $routeParams.secret to work, I end up with "myapp/?secret=something#/" and therefore no routeParams. I have very little experience with angular and js, I'm more of a back end guy, any tips or search terms that would help?
[22:42:26] *** siba has joined #angularjs
[22:42:43] *** mary5030 has joined #angularjs
[22:42:53] *** pimlu has quit IRC
[22:44:48] *** moei has joined #angularjs
[22:45:00] <amergin> angasule: hashbangs are not mandatory, you can also set up your application to use html5 location
[22:45:12] *** fedenunez has quit IRC
[22:45:18] *** LeBlaaanc has quit IRC
[22:45:40] *** Lumino has joined #angularjs
[22:46:02] <Lumino> Hi everyone!
[22:46:16] <amergin> EndStop: by prerender do you mean prerender.io or running your own instance of the very same software?
[22:46:27] *** Pookz has joined #angularjs
[22:46:53] <angasule> amergin: won't that break with old browsers?
[22:47:57] *** Aliks has joined #angularjs
[22:48:23] <EndStop> prerender.io
[22:48:47] *** vaddix has quit IRC
[22:49:08] *** doodlehaus has joined #angularjs
[22:49:10] *** cacts|works has joined #angularjs
[22:49:57] <amergin> angasule: as I understand it, it uses hash bangs as fallback in that case the browser doesn't support it.
[22:50:02] *** cactauz has joined #angularjs
[22:51:10] *** khuezy has joined #angularjs
[22:51:22] <angasule> amergin: so SSO wouldn't work for browser that don't support it, I need users to be able to log in, unfortunately :-)
[22:51:47] *** dimtruck is now known as zz_dimtruck
[22:51:54] <amergin> angasule: anyways, imo your problem is not about which mode you're in
[22:52:07] <amergin> you can have it work in either case
[22:52:11] <khuezy> Hello, I'm new to angular2 and typescript, I'm having a problem w/ the "Services -ts" tutorial (https://angular.io/docs/ts/latest/tutorial/toh-pt4.html)
[22:52:26] <khuezy> typescript compiles fine w/: this._heroService.getHeroes().then(heroes => this.heroes = heroes);
[22:52:45] <khuezy> but when I change it to the slower example: this._heroService.getHeroesSlowly().then(heroes => this.heroes = heroes); it fails to compile
[22:53:20] <khuezy> "Type '{}' is not assignable to type 'Hero[]'
[22:53:50] <khuezy> I have to typecast the parameter: this._heroService.getHeroesSlowly().then( (heroes: Hero[]) => this.heroes = heroes);
[22:53:57] <angasule> amergin: ok, how do I make it work with the # still in there? I don't know how to get the ?secret=something param before angular adds the #/ at the end.
[22:54:04] *** cacts|works has quit IRC
[22:54:17] <khuezy> why is it that the 'getHeroes()' compiles fine and 'getHeroesSlowly' does not?
[22:54:32] *** doodleha_ has joined #angularjs
[22:54:41] *** pbgc has joined #angularjs
[22:54:51] <EndStop> amergin: are you familiar with prerender.io ? Any help on how can i make it working ? When i search my website name on google i got a lot of brackets .. and this is really ugly
[22:55:53] <amergin> EndStop: you're not being very specific about what problems there are. I'd start by getting a browser extension that fakes your UA to googlebot and see what the bot is being served
[22:56:06] *** doodlehaus has quit IRC
[22:56:34] <amergin> and from there work your way with webmaster tools to serving your site in better format
[22:56:35] *** skcin7 has joined #angularjs
[22:56:52] *** doodlehaus has joined #angularjs
[22:57:08] *** k1ng4400 has quit IRC
[22:57:21] *** doodleha_ has quit IRC
[22:57:43] *** erol has quit IRC
[22:57:49] <EndStop> amergin: www.dobuytshirts.com ..take a look . I`m really stucked .. I did everything from the tutorials
[22:58:10] *** ashgotti has joined #angularjs
[22:58:24] <EndStop> the problem is that i dont use routeprovider
[22:58:38] <EndStop> i`m using angularjs with django
[22:58:39] *** k1ng440 has joined #angularjs
[22:58:39] *** k1ng440 has joined #angularjs
[22:58:40] <amergin> angasule: first thing, is there a reason you're not using a hashPrefix (!)?
[22:59:03] *** virt- has quit IRC
[22:59:12] <amergin> also, are you using ui-router
[22:59:26] *** virt has joined #angularjs
[22:59:27] <ashgotti> Evening everyone. I'm wokring on my first project and am using stateProvider, urlRouterProvider, locationProvider. It works for links within my page but if I try to go to a path directly, like /about, in the address bar, it doesn't work
[22:59:28] <angasule> amergin: I don't understand the question, what do you mean by using a hashPrefix?
[22:59:38] <ashgotti> I get page not found
[22:59:48] *** virt is now known as virt-
[23:00:34] <angasule> amergin: I don't see ui-router mentioned anywhere, so I'm going to guess no
[23:01:44] <Lumino> Can someone help me with a link redirection that doesn't work?
[23:01:45] <Lumino> Here's a paste with the small piece of code I'm actually using: http://pastie.org/10649921
[23:02:02] <angasule> are you talking about $location.hashPrefix ? That seems to add stuff after the # ?
[23:02:04] <Lumino> Sorry I'm pretty new to AngularJS world
[23:02:36] <amergin> angasule: ui-router is an optional url module. I would highly recommend it if you have specific url schemas you need to use
[23:02:50] <amergin> they have great tutorials also
[23:03:50] *** kgee has quit IRC
[23:04:19] *** speaking2ode has quit IRC
[23:06:13] <amergin> EndStop: well the UA faker got me nowhere. have you looked at the webmaster tools panel, what does it say
[23:06:23] *** cactauz has quit IRC
[23:07:19] <EndStop> what should i use on webmaster tools ?
[23:07:49] <amergin> angasule: $locationProvider.hashPrefix('!') is what is usually on the examples
[23:08:03] *** ESpiney has quit IRC
[23:08:19] *** bayousoft has joined #angularjs
[23:09:41] *** clivejo has quit IRC
[23:09:41] *** fiona has joined #angularjs
[23:10:16] *** cacts|works has joined #angularjs
[23:10:32] *** sigurding has joined #angularjs
[23:12:12] *** clivejo has joined #angularjs
[23:12:36] *** frem has quit IRC
[23:12:40] *** Kwoth has joined #angularjs
[23:12:56] *** JeroenDL has joined #angularjs
[23:13:39] <Kwoth> Hello, i use socket.io with my angular2 app. socket is in my appComponent as a property. Now i need to send something to that socket from another class. What to do?
[23:13:40] *** doodlehaus has quit IRC
[23:14:02] <Kwoth> Im worried will my app work if i move socket from appcomponent to global and use it with all classes from that file from there
[23:14:39] *** sigurding has quit IRC
[23:15:08] *** cactauz has joined #angularjs
[23:15:58] *** cliluw has quit IRC
[23:16:33] <ahel_> angular-material: how to display a form with value rendered from the scope?
[23:16:56] *** doodlehaus has joined #angularjs
[23:17:05] *** cliluw has joined #angularjs
[23:17:26] *** icebox has quit IRC
[23:18:09] *** Ir1sh has joined #angularjs
[23:18:18] *** pbgc has quit IRC
[23:18:40] *** cacts|works has quit IRC
[23:18:58] *** greengriminal has quit IRC
[23:19:09] <angasule> amergin: thanks, I'll look into those two
[23:19:14] *** jtimon has quit IRC
[23:19:23] *** heyts has quit IRC
[23:20:11] *** dbclk has quit IRC
[23:20:16] *** prbc has quit IRC
[23:21:53] *** kgee has joined #angularjs
[23:22:14] *** spikeheadon has joined #angularjs
[23:22:37] *** junmin has quit IRC
[23:22:57] *** bayousoft has quit IRC
[23:23:35] *** pbgc has joined #angularjs
[23:24:07] <Lumino> angasule: Can you help me with this please? http://pastie.org/10649921
[23:24:25] <Lumino> Can't redirect that link to the proper view
[23:25:43] <angasule> Lumino: sorry, I'm a newbie here, I read it but I don't even know what that stuff is :-)
[23:26:26] *** speeddragon has joined #angularjs
[23:27:13] <Lumino> Woah! >_<
[23:27:47] *** doodlehaus has quit IRC
[23:28:00] <angasule> Lumino: I guess you're using ui-router ?
[23:28:26] <Lumino> Yes I think it is that
[23:28:34] *** Voyage has joined #angularjs
[23:28:59] *** cactauz has quit IRC
[23:29:19] *** cacts|works has joined #angularjs
[23:29:23] <Lumino> I'm getting started with hybrid app dev with Ionic/Cordova so for a demo app I'm just trying to point a link to a view
[23:29:31] *** sbellina has joined #angularjs
[23:29:54] <ashgotti> Very frustrating. Using ui-router, if I go to a page directly like www.site.com/page, it adds a trailing / so www.site.com/page/ and I get a 404. Any ideas why?
[23:30:20] *** owenjones has joined #angularjs
[23:31:33] *** zeioth_ has quit IRC
[23:31:49] *** speeddragon has quit IRC
[23:32:04] *** sobol has joined #angularjs
[23:32:22] <ashgotti> Adding this to my router fixed it {dummyParam:[/]?}
[23:34:12] *** Voyage has quit IRC
[23:37:39] *** cacts|works has quit IRC
[23:41:48] <ashgotti> Speaking of ui-router and params, Is there a way to include a '/' in them? I have nested addresses so 'element1/element2'.
[23:41:50] *** Aliks has quit IRC
[23:42:17] *** dpicky has quit IRC
[23:42:55] *** ziro` has quit IRC
[23:43:06] *** squeakytoy has quit IRC
[23:43:27] *** dpicky_ has joined #angularjs
[23:45:06] *** cotko has joined #angularjs
[23:45:51] *** heyts has joined #angularjs
[23:46:57] *** dopesong has quit IRC
[23:47:02] *** Zenithar has joined #angularjs
[23:47:16] *** dopesong has joined #angularjs
[23:48:40] *** Aliks has joined #angularjs
[23:48:54] <Kwoth> Is anyone using routing with angular 2?
[23:49:01] *** prbc has joined #angularjs
[23:49:05] *** thezanke has joined #angularjs
[23:49:23] <Kwoth> I have a trouble because i have infinite number of routes, how the hell do i put them all in the @RouteConfig ? :S
[23:50:00] *** italoacasas has quit IRC
[23:50:15] *** vader699 has joined #angularjs
[23:50:53] <angasule> Kwoth: if you don't explain your problem properly no one will be able to help you.
[23:51:06] *** zz_dimtruck is now known as dimtruck
[23:51:08] <Kwoth> I thought i just did :\
[23:51:55] *** dpicky_ has quit IRC
[23:52:03] <Kwoth> I get an array from server, user gets a button for each element of the array, and when he presses a button, he should be routed to that screen with certain info.
[23:52:16] <Kwoth> I don't know how many or which strings will the server send.
[23:52:21] *** pbgc has quit IRC
[23:53:07] <spikeheadon> kwoth: why you have infinite routes?
[23:53:19] <Kwoth> Anyone can generate their own page.
[23:53:19] *** Zalabinsky has quit IRC
[23:53:29] <spikeheadon> kwoth: if the data is of same kind...use variables
[23:53:39] <angasule> Kwoth: maybe something like $routeParams is what you need
[23:53:48] <Kwoth> you just type in a thing, and if it doesn't exist, page is created
[23:54:06] <Kwoth> use variables? xD
[23:54:16] <Kwoth> angasule: thanks i will look into it
[23:54:36] <angasule> Kwoth: it looks like you might need to do some tutorials
[23:54:59] *** dpicky has joined #angularjs
[23:55:05] <Kwoth> :S
[23:55:20] <Kwoth> I know how to read the docs, there just isn't any example with unknown number of routes
[23:55:36] <Kwoth> https://angular.io/docs/ts/latest/guide/router.html
[23:56:04] *** swordfish has quit IRC
[23:56:38] *** AxldenieD has quit IRC
[23:56:39] *** bayousoft has joined #angularjs
[23:56:40] *** syzygy_ has quit IRC
top

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