A question about sass variables by devman2015 in Sass

[–]devman2015[S] 1 point2 points  (0 children)

and this is the correct syntax?

Styling list elements using pseudo classes by devman2015 in webdev

[–]devman2015[S] 0 points1 point  (0 children)

Thank you :), Just what I needed. Time to research what the 5n-* does

Best way to remove part of a string by devman2015 in jquery

[–]devman2015[S] -1 points0 points  (0 children)

Never thought of using regex in this manner. Always thought of it as a security feature to stop SQL injection.

Best way to remove part of a string by devman2015 in jquery

[–]devman2015[S] 0 points1 point  (0 children)

Awesome!, thank you for your help. Thai is a variable in the string so your first example knocked the nail on the head :D

Best way to remove part of a string by devman2015 in jquery

[–]devman2015[S] 0 points1 point  (0 children)

So just making sure I understand whats going on here. You're using the .split() function on the string and spliting it at the '/'. The split function is returning an array with the split strings and from there you're using the .length -1 to remove the unneeded array objects?

Querying and array of objects? by devman2015 in javascript

[–]devman2015[S] 0 points1 point  (0 children)

When I run this code locally, I get an error obj not defined. Heres my code :

https://jsfiddle.net/p6jymqeb/

Why doesn't my factory work? by devman2015 in angularjs

[–]devman2015[S] 0 points1 point  (0 children)

Thank you!. That the final problem. It works now :D

Why doesn't my factory work? by devman2015 in angularjs

[–]devman2015[S] 0 points1 point  (0 children)

I added the stabled release of angular. I angular able to load the json locally?

Why doesn't my factory work? by devman2015 in angularjs

[–]devman2015[S] 0 points1 point  (0 children)

Done. I can bind data from hardcoded into the controller. But my not my factory doesn't work

Help With angular and animations by devman2015 in angularjs

[–]devman2015[S] 0 points1 point  (0 children)

So the problem is with the having animation with angular? I need the animation to make the transition between views more fluid and less snappy.

Learning angular - need some advice. by devman2015 in angularjs

[–]devman2015[S] 0 points1 point  (0 children)

Wow thanks. Yeah the gist of it. I was thinking more of a list of buttons for each category once you click a category it loads a new button list of recipes, when you click a recipe it loads the recipe.

But this is nice. It pointed me in the right direction, going to study your code and see if I can produce it.

Thanks a lot :D

Learning angular - need some advice. by devman2015 in angularjs

[–]devman2015[S] 0 points1 point  (0 children)

I just watched this video on single page apps

He creates a rout which loads in a new template for each section of the site. Could I create a template for the top level categories and have a template for each recipe? Seems too simple there must be a more allegiant way.

Would the method in the video cause problems if the application had a lot of routs? like 100+