César Barone | 19 May 19:18 2015
Picon

Fill PDF Form with AngularJS

Hi, 

I am trying to solve this issue: 

In my angularjs app, users fills a common html form. After they do that, i need to fill an existing fillable PDF (not generated by me) with some values that user filled in my form and at the end, user can download this editable pdf pre filled by my angular app. 

Anyone knows a javascript library or a tip to solve this problem?

Thanks :)

  

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
darshan khot | 19 May 19:03 2015
Picon

Error while using angular-route or even angular-ui-router

I am constantly getting an error while using angular-route.js $routeProvider and also I even tried using angular-ui-router.js $stateProvider,$urlRouterProvider.

basically this is what i am doing:- 

=========================================
 app.config(function($stateProvider,$urlRouterProvider) {
        $urlRouterProvider.otherwise("/");
        $stateProvider
    .state('Home', {
            url: "/",
    templateUrl: "views/home.html",
    controller: 'MyController'
 })
.state('List',{
    url : "/list",
    templateUrl : "views/list.html",
            controller: 'MyController'
 })
    })
============================================

Error:- 

Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.3.15/$injector/modulerr?p0=MyApp&p1=Error%3A%…127.0.0.1%3A52621%2Fbower_components%2Fangular%2Fangular.min.js%3A38%3A135) in angular.js:38

I am not able to use any routing js (angular-route and angular-ui-router) in app.config. Please help me to resolve why this error is coming and what needs to be corrected.

Thank you,
Darshan

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
jonathan.duffy | 19 May 13:04 2015

Release Schedule protractor npm

Hi all,

I have looked but cannot see a release schedule for protractor, is there one about?

I have come to understand that the updates to the Github project are only reflected in npm when a new version is published.

What are the determining factors for publishing a new version? Are there fixed dates or certain features that are pegged to versions?

Thanks in advance

Jon

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Shin Satsuma | 18 May 22:11 2015
Picon

Angular Routing & Touchevents


I have been working on a particular UI scenario, and I'm running up against time barriers to figure out what is going on.  I'm hoping someone here can shortcut the process for me, so I don't have to start walking the angular sources or worse :).

The scenario is pretty simple to explain.  I have an Angular SPA using angular-route and $location.path to traverse the app flow.

On a given page, however, I want to transition to another route while maintaining an on-going press/drag event.  The problem is, when I call $location.path(...) to transition to another route, the press event (and the underlying touch event tracking) gets squashed.  The press, pan and underlying touchevents stop firing.

The details:
I am running the lastest version of Angular, angular-route, and the Ryan-Mullins' version of Angular-hammer with hammerjs 2.04 (all the latest, according to bower ;).  I'm also running with a few other modules I don't think impact anything--animation, resource... sce (I forget now which module that's in). sanitize I think.  Anyway, typical stuff.  

The next important detail is that I'm running this setup via Cordova on an Android device.

What I am seeing is, on transition, the touchevent which triggers the press simply "goes away".  Which is to say, there is no touchend or touchcancel (unless it's getting hidden from me, for example by Angular).  Also no pressup.  I had hoped to continue the event by restarting the press with programmatic touch events.  That didn't work either.  I can get the press to start, but the OS does not generate any on-going touch events.

Now, given the above, I figure this could be a "Cordova problem" relating to how Cordova supports location routing in its hosted WebView (somehow changing Activities, for instance, which will cause Android to reset the touchevent).  Alternatively (and seemingly more likely since I would have thought the entire WebView was a single Activity (pretty sure it is), it could be as simple as the Cordova event pass through being one way.  So OS triggered events come into the WebView, but javascript triggered events do not go out, and the WebView itself is relying on the OS to continue touch tracking.  Implying that my solution would lie in some sort of plugin or patch to Cordova itself to all me to restart touch tracking from Javascript (I haven't done much native Android development, so the costs thereof are a little out of band).  Alternatively, the problem may originate (and be solvable) at the Angular/javascript layer.  There are enough layers involved that discerning exactly what's going on will likely take longer than I have been given the budget for on this problem, so I'm really just hoping someone has experience doing something similar in Angular and can tell me if I should be looking at the angular layer for a solution.

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
o x | 18 May 21:41 2015
Picon

i am looking for a way to impamant angular uiMask -

hello
i am very new to angular.


i am looking for a way to impamant angular uiMask - 



--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Peter Gault | 18 May 17:55 2015

RailsAdmin for Angular/Firebase?

I am building Quill.org, a platform for open source educational apps. We are building apps in Angular.JS and Firebase,  and our plan is to build a series of open source tools over the coming months and years. We would like to implement a RailsAdmin like CMS interface into all of these tools so that users can edit the materials. 

Firebase already offers something like this by providing its GUI for editing the data. However, we are looking for a solution where we can provide a GUI for our users so that they can submit content into our system.  Is there something like RailsAdmin that exists? 

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Gyanendra Mishra | 18 May 17:32 2015

For/While loop struggles with async calls

 am trying to check element on regular interval and click only if it is present. Some times this element appears in 2-3 minutes. If it is not present, i want to wait for few seconds and then refresh page

Here is what i tried:

for(var i = 1; i < 60; i++){ element(that.proposalByOrderPath(num)).isPresent().then(function(result){ if(result){ console.log(i); return element(that.proposalByOrderPath(num)).click(); } else{ browser.sleep(15000); browser.refresh(); } }); }

As an output, it prints 60 twice. It clicks on the element once but tries to look again for the element and throws "element not visible" error.

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Nitin Tomer | 18 May 12:59 2015
Picon

I need multiple views in an app

Hi,

I am creating an app. In this app, some menu items will be listed, on click of these menu-items, sub-menu-items will be listed in a ng-view. On click of these sub-menu-items, I want to load a HTML in another ng-view. How can this be done?

Code is:

index.html

<!DOCTYPE html>
<html ng-app="ox-admin" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <script src="Scripts/jquery-1.9.1.js"></script>
    <script src="Scripts/angular.js"></script>
    <script src="Scripts/angular-resource.js"></script>
    <script src="Scripts/angular-route.js"></script>
    <script src="js/app.js"></script>
    <script src="js/controllers.js"></script>
    <link rel="stylesheet" type="text/css" href="Content/bootstrap.css" />
    <title>OmniExchange - Administrator</title>
</head>
<body>
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-2" ng-controller="ox-adminCtrl">
                <!--Body content-->

                <ul class="phones">
                    <li ng-repeat="menuitem in menuitems">
                        <a href="#/htmls/{{menuitem.view}}">{{menuitem.name}}</a>
                    </li>
                </ul>

            </div>
            <div class="col-md-10" ng-view>

            </div>
        </div>
    </div>
</body>
</html>

app.js

/* App Module */

var oxadminApp = angular.module('ox-admin', [
  'ngRoute',
  'oxadminControllers'
]);

oxadminApp.config(['$routeProvider',
  function ($routeProvider) {
      $routeProvider.
        when('/htmls', {
            templateUrl: 'htmls/blank.html'
        }).
        when('/htmls/:viewName', {
            templateUrl: function (params) { return '/htmls/' + params.viewName + '.html'; },
                controller: 'pageCtrl'
            }).
        otherwise({
            redirectTo: '/htmls'
        });
  }]);

controller.js

var oxadminControllers = angular.module('oxadminControllers', []);

oxadminControllers.controller('pageCtrl', ['$scope', '$routeParams',
  function pageCtrl($scope, $routeParams) {
      $scope.viewName = $routeParams.viewName;
  }]);

oxadminControllers.controller('ox-adminCtrl', function ($scope) {
    $scope.menuitems = [
      {
          'name': 'Register Template',
          'view': 'regTemplate'
      },
      {
          'name': 'Register Device',
          'view': 'regDevice'
      },
      {
          'name': 'Register Services',
          'view': 'regService'
      },
      {
          'name': 'Configure Authentication',
          'view': 'confAuth'
      },
      {
          'name': 'Configure Integrations',
          'view': 'confInt'
      }
    ];
});

oxadminControllers.controller('ctrl-regTemplate', function ($scope) {
    $scope.options = [
      {
          'name': 'General Info',
          'view': 'rtGenInfo'
      },
      {
          'name': 'Define Data-fields',
          'view': 'rtDataDef'
      },
      {
          'name': 'Define Doctypes',
          'view': 'rtDocDef'
      },
      {
          'name': 'Add Tasks',
          'view': 'rtAddTask'
      }
    ];
});

Detailed view for registering templates.

<div ng-controller="ctrl-regTemplate">
    <ul class="phones">
        <li ng-repeat="option in options">
            <a href="#/htmls/{{option.view}}">{{option.name}}</a>
        </li>
    </ul>
</div>

On click of these options, I want to load a HTML.

Please help me.

Thanks

Nitin

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Brahim Idbendriss | 18 May 12:27 2015
Picon

angularjs on web server

Hi,
I've just started learning AngularJs. I want to on a web server rather than 
locally. What file from the angular seed folder do I need to upload to my 
server? Thank you.

Ravi Kumar | 18 May 12:23 2015
Picon

Controller called twice

Hello,

I'm new to AngularJS project. I have a controller called "Question Controller". When I come to this page it's calling twice. I checked this using console.log in fire-fox. I checked in google for the solution but I didn't under stand why it's calling twice.

Can anyone help me.

Thank you in Advance 

/ Ravi

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscribe <at> googlegroups.com.
To post to this group, send email to angular <at> googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Victor Dzundza | 18 May 11:46 2015
Picon

Does anyone know how to test js based animation in angular js 1.3.x version?

There is related SO question: SO issue 
<http://stackoverflow.com/questions/30262742/how-to-synchronous-test-animation-in-angular-1-3-15>

Appreciate for all answers and ideas.


Gmane