Tagged Questions
0
votes
1answer
11 views
angularjs ui-router: Unknown provider: $stateProvider
I'm having troubles using the ui-router plugin of AngularJS:
angular.module('myApp', []).
config(['$routeProvider', '$stateProvider', function($routeProvider, $stateProvider) {
$stateProvider
...
0
votes
0answers
12 views
Angular constructing a complex domain model
I am new to angular JS, apologies if this question sound very basic, But i have a XML xsd model like below.
public class Client {
private String name;
//A client can have n number of ...
0
votes
0answers
10 views
Responsive dropdown navbar with angular-ui bootstrap (done in the correct angular kind of way)
I've created a JSFiddle with a dropdown navbar using angular-ui-boostrap's module "ui.bootstrap.dropdownToggle": http://jsfiddle.net/mhu23/2pmz5/
<div class="navbar navbar-fixed-top">
<div ...
1
vote
1answer
67 views
Adding location to Google Map on page load with Angular UI
Thanks to @AJoslin I now have a working google map using only AngularUI and AngularJS.
Unfortunately there are two things I can't figure out how to do which may have to do with Google Map API and my ...
0
votes
2answers
60 views
Validation messages into Directive - AngularJS
I'm trying do a small reusable component in AngularJS using directives.
I have made good progress but I have a problem with the validations. For example the required validation not working. I think is ...
0
votes
0answers
22 views
How do you prefix a URL route with a dynamic $scope value after being called?
I am trying to prefix my users' usernames to the routes they call within my application after they've logged in. How would I achieve this in angular? I already tried using the $locationProvider and ...
0
votes
1answer
18 views
Cant Get AngularUI Sortable Demo to work
having trouble getting a simple sortable demo for angular-ui going here- http://jsfiddle.net/B3YDr/:
<div ng-app="myApp" ng-controller="myCtrl">
<ul ng-model="items" ui-sortable>
...
1
vote
1answer
273 views
slide transitions in Angular JS
I am trying to achieve slide transitions similar to JQueryMobile using AngularJS routing.
JQuery Mobile here: http://view.jquerymobile.com/1.3.0/docs/widgets/transitions/
I can try creating a ...
0
votes
1answer
23 views
Angular UI: Unknown provider: dialogProvider
I am trying to replicate the following Angular UI example of a simple dialog with a close-button. https://github.com/angular-ui/bootstrap/blob/master/src/dialog/README.md.
However, I cannot get the ...
0
votes
0answers
28 views
Angular UI tinymce errors cannot call method add of undefined
EDIT
If it helps the code that it errors at is
// Update model when calling setContent (such as from the source editor popup)
setup: function (ed) {
...
0
votes
0answers
10 views
angular-ui ng-grid external column grouping
The drag/drop and built in menu methods are fairly useful for the ngGrid script. I am currently trying to make it so that you can perform the column grouping via an external method such as a check ...
0
votes
3answers
300 views
angular-ui/bootstrap: Testing a controller that uses a dialog
I've a controller that uses a Dialog from angular-ui/bootstrap:
function ClientFeatureController($dialog, $scope, ClientFeature, Country, FeatureService) {
//Get list of client features ...
0
votes
0answers
43 views
Select2 AngularJS - How do i dynamically add a tag item?
I have a select2 input box the defined like this:
<input id="searchbox" ui-select2="autoCompleteSearch" ng-model="searchedLeafs" style="width:80%;height:36px;" class="searchbox"/>
Basically, ...
1
vote
1answer
92 views
How to get Select2 tags initializing correctly with Angular UI when option groups are used?
I have been trying to get my angular ui select2 directive to initialize and have been unable to get it to work with option groups.
The Code:
function testCtrl1($scope)
{
$scope.selectedOptions ...
0
votes
1answer
48 views
How do I make angular-ui bootstrap accordion group work in html5mode
If I enable html5mode to true in my config module, the "hyperlink" that opens the accordion-group reroutes the url back to the base url. Not only does the accordion group not open, but you are ...