Questions tagged [angular-foundation]

Angular Components for Foundation (or angular-foundation in short) is a set of native AngularJS directives based on Foundation's markup and CSS. It is a port of the AngularUI team's angular-bootstrap project.

29 questions
153
votes
9 answers

Can I access a form in the controller?

I'm currently using the following. $scope.$$childHead.customerForm[firstName], so that:
Vincent
  • 6,058
  • 15
  • 52
  • 94
10
votes
2 answers

UI-Router modal changes existing views

I'm trying to use ui-router to trigger a modal for a certain state, rather than changing the entire view. To do this, I implemented a slightly adapted form of what is given in the FAQ, as I'm using angular-foundation rather than bootstrap. When I…
Jonathan Bender
  • 1,911
  • 4
  • 22
  • 39
3
votes
2 answers

AngularJS : Injecting a promise into a controller using "resolve"

I'm trying to instantiate a controller, passing arguments using a "resolve" object. Here is the syntax : { controller: 'HtmlModalController', resolve: { myarg: function() { return "FOO"; } } } This will cause my controller to…
Neozaru
  • 1,109
  • 1
  • 10
  • 25
3
votes
2 answers

Angular typeahead code not working on their own angular foundation webpage example code

I am using angular foundation as form their website http://pineconellc.github.io/angular-foundation/ and when i click on their plunker then when i type something in text box its not working This is their…
user3214546
  • 6,523
  • 13
  • 51
  • 98
3
votes
0 answers

AngularJS splicing array on $scope doesn't update view

I'm using angular-foundation by madmimi (it's a angularjs port for the jquery part of zurb foundation) and I've ran into a bit of trouble with the Alert directive. I have a contact form with alerts in the top. These alerts are shown using ng-repeat…
3
votes
2 answers

How do I open modal inside a modal with proper backdrop with angular foundation?

I would like to open a modal inside a modal with backdrop like - backdrop -> window -> backdrop -> window How can I achieve that with angular foundation? http://madmimi.github.io/angular-foundation/ thanks!
2
votes
2 answers

Angular-Foundation and ng-click not working on tag

Spent the whole day trying to figure this simple issue but no luck. I added ng-click to < a > tag but it's not calling the function. If I put the ng-click on a button, it works. I've tried the following with no success.
  • 2
    votes
    3 answers

    Angularjs Multiple Directives Asking For Transclusion when lazy loading

    I'm trying to setup a simple angularjs app using ui.router, ocLazyLoad, Foundation and angular-foundation. The app is a multi-view app with it's components lazy loaded using ocLazyLoad. I have no problem setting up the views and associated…
    jaime
    • 2,234
    • 1
    • 19
    • 22
    2
    votes
    2 answers

    Conditionally apply hasDropdown directive on ng-repeated element

    I'm working on a project where I use both angularJS and foundation, so I'm making use of the Angular Foundation project to get all the javascript parts of foundation working. I just upgraded from 0.2.2 to 0.3.1, causing a problem in the top bar…
    1
    vote
    1 answer

    AR floor recognize and interactions

    I'm as the new of AR development. I want to create AR demo app, but I face some problems. could anyone help me to solve below problems: . Does it possible to recognize the floor, if I want to placement with big 3D object ( around 3 meter x 1.5 meter…
    1
    vote
    0 answers

    How to add CSS to dynamically created list from controller in angular js

    I am trying to create top bar navigation menu in angular js. It has drop down menu list that is dynamic. That I am getting the menu from DB. So I am making call to DB from controller and fetching data there and forming dynamic list with css…
    1
    vote
    0 answers

    AngularJS: Is it possible to include a template within a template?

    I'm using angular-foundation tabset and need to have a few tabs with the same structure. Say the repeating content is only used in this template so I don't want to create a new file for it, while it's a bit too much for me to feel comfortable about…
    Xun Yang
    • 4,209
    • 8
    • 39
    • 68
    1
    vote
    2 answers

    Box shadow to triangle created using css

    I have the following plunker where I have created a triangle using CSS. CSS: .triangle { border: inset 6px; content: ""; display: block; height: 0; width: 0; border-color: transparent transparent red transparent; …
    Tarun Dugar
    • 8,921
    • 8
    • 42
    • 79
    1
    vote
    1 answer

    Angular Foundation tabs display wrong content and active tab with ng-if

    I'm using Angular-Foundation to add some tabs to a page. Some tabs have a conditional ng-if, and some do not. The tabs without ng-if seem to render first and become the default display, even though I want the other tab to render first. Also, when…
    twinb
    • 166
    • 1
    • 2
    • 9
    1
    vote
    0 answers

    ngForm validity no longer being set after detach method is called

    I'm can't seem to figure out why my nested ngForms aren't working. I'll start with a basic overview. I have one form tag inside of a Foundation reveal div. When I click a button the reveal is opened. After some checking I found that Foundation uses…
    selanac82
    • 2,920
    • 4
    • 27
    • 37
    1
    2