Skip to content

No progress happening #3

@doodirock

Description

@doodirock

Button doens't fill when I hook it into my service. Currently using:

$scope.change = function() {
  $scope.loader = NodeFactory.update({ id: $scope.newentry.nid }, $scope.data);
  $scope.loader.$promise.then(function () {
    //$state.go('start', {'id': $scope.newentry.nid});
  });
};

With my button set as:

    <button type="submit" progress-button="change()">Save &amp; Continue</button>

The server is taking about 10sec to resolve the promise, the button doesnt fill and simply flips to the done animation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions