Skip to main content

All Questions

0 votes
2 answers
629 views

AngularJS : How can I dynamically reference a directive during ng-repeat?

Here is a plunkr showing what I am attempting I have a tabset, which is defined as individual tabs, each with their own directive. <div class="container" ng-controller='fruitController'> ...
Andrew Stubbs's user avatar
1 vote
0 answers
123 views

Firebase syncObject is showing redundant error in my Angular controller

I am building an app for a client who has, as one of their data sets a master list of all their members. I have the data coming in from Firebase and everything runs peachy, but it's not that DRY I am ...
Charles Smith's user avatar
0 votes
1 answer
267 views

trying to insert directive into ui accordion body but gets converted to text

From the docs of angular bootstrap accordion I am trying to insert html into the accordion body. $scope.groups = [ { title: 'Dynamic Group Header - 1', content: '<h1>Dynamic Group ...
sushmit sarmah's user avatar
0 votes
2 answers
114 views

Adding new form inputs continuously

I currently have a form where an individual can add firstname and lastname via two input fields. In some scenarios they may want to add more than one so I want to provide button/bit of text below ...
J145's user avatar
  • 699
12 votes
3 answers
17k views

Angular JS Date format filter inside Ng-Repeat not formatting

Actual Date coming from JSON Need to format it as below . Effective Date : 2010-08-31 (trim the time stamp) End Date : 2010-08-31 (trim the time stamp) Am using the below code for Formatting the date ...
Hero's user avatar
  • 647
1 vote
0 answers
764 views

slide toggle from left to right in angular js

I am using hide and show an element using the angular JS . Angular toggle collapse working fine from slide up and slide down. How can I do the same thing sliding from right to left with some ...
user982756's user avatar
0 votes
1 answer
6k views

AngularJS controller, required by directive, can't be found

I have an error for each "message" Error: [$compile:ctreq] Controller 'accordion', required by directive 'accordionGroup', can't be found! with my code in html <h2 data-ng-if="!!messageData....
ANDREY_PROGRAMMIST's user avatar
0 votes
1 answer
327 views

Capture Posted Data from other website to AngularJs

I want to prepare secure application in AngularJs, which handle payment related common website(means we can get request from multiple website for payment in secure website). Now issue I am facing. ...
user3493537's user avatar
13 votes
7 answers
43k views

A directive to format phone number

I was wondering how to automatically format a number in an input field using an angularjs directive? When I type in an input field say 6042919283 I want it to be shown as 604-291-9283. Thanks
user1424508's user avatar
  • 3,301
0 votes
2 answers
1k views

trying to use angular-ui-bootstrap radiobutton directive with ng-repeat in an angular project

So... I'm trying to generate a radiobutton group using ng-repeat: <div class="btn-group yb-radiobuttons"> <button type="button" class="btn" ng-model="radioModel" btn-radio="'all'">All ...
Dine's user avatar
  • 7,293