All Questions
12 questions
1
vote
1
answer
128
views
Tying the enablement of one checkbox to another using AngularJS and jQuery
I'm new to AngularJS, coming from a jQuery background and I have a situation I've solved but only by including jQuery in an AngularJS function. Something just doesn't feel right doing this and I was ...
4
votes
1
answer
2k
views
Step by step wizard
I'm currently working on creating a step by step wizard in Angular and twitter-bootstrap. I've actually got it to work as intended but as I'm looking to advance my skills I'd like to hear if you have ...
4
votes
1
answer
1k
views
Displaying a table using DataTables and AngularJS
I am using DataTables to format and display a table. I started the project using AngularJS with a PHP backend but I needed to inject some Vanilla JS and JQuery code in order to use DataTables.
Is ...
1
vote
1
answer
46
views
Taking objects from literal with many objects
I have data returned from an API coming back in a response: response.data
...
2
votes
1
answer
226
views
AngularJS: Http API Service - any improvements / remarks?
Could you please review the below AngularJS service. What it does is centralize all (relevant) HTTP action calls.
Do you see any chances for improvement?:
...
4
votes
1
answer
6k
views
Angular directive to toggle sidebar visibility based on window width
I changed the normal way of using Angular. I'm using my controllers just to talk to my API routes and am using directives to manipulate the data and DOM as well.
I am using the object literal pattern ...
5
votes
1
answer
405
views
Directive to randomly show/hide elements
This directive works fine but I have the feeling that I'm not doing it the "angular way" with .attr('hide', 'true'). Is there a better way to show or hide elements ...
21
votes
1
answer
15k
views
Draggable Resizeable Box
This is my first angular code. I've been working with jQuery for a while, so I don't have the same approach. I'm looking for advice and code improvement.
The following code has 3 directives:
...
8
votes
1
answer
7k
views
Custom angular directive for data-binding on Telerik's Kendo UI
I am using Telerik's Kendo UI suite for a project, and was excited when they announced compatibility with Angular, but as I got a lot of code written I realized that they hadn't yet made the widget ...
3
votes
2
answers
21k
views
Acceptable way of using jQuery methods in Angular directives
Here is my plunker example of what I am doing.
jQuery is a great way to use slide transitions and seem to work well with angular as long as you are only using the methods on the element object inside ...
2
votes
1
answer
71
views
Simple text toggling
I made a simple AngularJS text function. The purpose is to provide an array of content to display. A 'slider' will be made with next and previous buttons that hide on the last and first slide, ...
8
votes
1
answer
932
views
Angular dropdown
I have created this little dropdown directive in Angular. The idea is that you create a nav element with a ul inside. The directive prepends a chevron and toggles ...