Questions tagged [angular-seed]

This project is an application skeleton for a typical AngularJS web app. You can use it to quickly bootstrap your angular webapp projects and dev environment for these projects.

The seed contains AngularJS libraries, test libraries and a bunch of scripts all preconfigured for instant web development gratification. Just clone the repo (or download the zip/tarball), start up our (or yours) webserver and you are ready to develop and test your application.

The seed app doesn't do much, just shows how to wire two controllers and views together. You can check it out by opening app/index.html in your browser (might not work file file:// scheme in certain browsers, see note below).

88 questions
31
votes
2 answers

AngularJS App: How to include .js files into index.html

I'm new to angularJS. I managed to build a phonegap app using angularJS. The app is ok and running just fine. The problem is, now that I have a little more understanding on how angularJS works (at least I think I have), I'm worried about my app…
jpgrassi
  • 5,482
  • 2
  • 36
  • 55
22
votes
7 answers

'http-server' is not recognized as an internal or external command

After installing angular-seed project, i did the following steps: Cloned the repository : git clone https://github.com/angular/angular-seed.git cd angular-seed Then I ran npm install at the end of the install i get: angular-seed@0.0.0 prestart…
Liad Livnat
  • 7,435
  • 16
  • 60
  • 98
15
votes
10 answers

Experimental support for decorators is a feature that is subject to change in a future release

I just cloned angular2-seed project from github and followed the steps, but i got this warning into VS code [ts] Experimental support for decorators is a feature that is subject to change in a future release. Set the 'Exxperimentaldecorators' option…
Mourad Idrissi
  • 3,455
  • 5
  • 17
  • 29
10
votes
1 answer

How to add ngx-restangular to angular-seed?

I have a skeleton application build with mgechev/angular-seed and 2muchcoffeecom/ngx-restangular. I would like to integrate them but I cannot find out the solution how to do it. Before I successfully add few packages to project.config.ts simply…
Łukasz D. Tulikowski
  • 1,440
  • 1
  • 17
  • 36
10
votes
3 answers

How to see $log calls in Terminal when running angularjs unit tests with karma?

In a project based on angular-seed project, I am running unit tests with ./scripts/test.sh --log-level debug but none of the log messages that I see are coming from my app. How do I get to see them? In my app, I am logging with $log.
jbasko
  • 7,028
  • 1
  • 38
  • 51
5
votes
2 answers

Clear service data in AngularJs

I'm trying to store data in my services similar to the answer in : Processing $http response in service app.factory('myService', function($http) { var promise; var myService = { async: function() { if ( !promise ) { // $http…
user1354603
  • 4,034
  • 4
  • 31
  • 43
4
votes
1 answer

Get a parameter from HTML before loading is complete

I have an Angular application based on Seed. I want it to wait for the loading of all data before displaying anything. That is done with a provider in my app.module.ts: providers: [ AlbumConfig, UserConfig, { provide: APP_INITIALIZER, …
Kodiak
  • 5,978
  • 17
  • 35
4
votes
1 answer

Karma Testing Angular Seed Project System.JS path error

I'm just getting started with Angular using https://github.com/mgechev/angular-seed as my initial setup. I'm having some problems getting an initial unit test setup with Jasmine. The OAuth library used in my project seems to be the issue, but I'm…
Squiggs.
  • 4,299
  • 6
  • 49
  • 89
4
votes
2 answers

Angular2 Router: add hashtag to url

I'm using Angular2 Seed application, and you can find it in the official repo. As you can see, here we have angular2/router imported, and we're using it to create the basic routing of the application. import {Component, ViewEncapsulation} from…
punov
  • 798
  • 7
  • 16
4
votes
2 answers

How to import Angular Seed project in IntelliJ

I'm trying to import the Angular Seed project into IntelliJ, but when I do it creates a whole bunch of individual modules. I just want a view of the directory structure and to forget about this module junk. All they are are folders to me. How can I…
jcm
  • 5,499
  • 11
  • 49
  • 78
3
votes
0 answers

Angular2 - Standalone app or not - best practice

My team and I are beginning a new web project. We intend to use Angular2 which will replace AngularJS within a tried and trusted architecture we’ve used for other projects. The most notable part of this architecture is an ASP.NET MVC application…
John
  • 191
  • 1
  • 15
3
votes
2 answers

Executed 0 of 0 ERROR while running unit tests

Im getting Executed 0 of 0 ERROR error when trying to run unit test cases. I followed few solutions that was mentioned for this problem, but still i get the same error. Tried: Removing the angular-scenario file Added angular-scenario in exclusion…
Rajkamal Subramanian
  • 6,884
  • 4
  • 52
  • 69
2
votes
0 answers

npm + Gulp cannot find module gulp

I have a problem with my angular2-seed project. Executing "npm install" throws the following error: throw new TSError(formatDiagnostics(diagnosticList, cwd, ts, lineOffset)) ^ TSError: ⨯ Unable to compile TypeScript Cannot…
2
votes
0 answers

Implement Angular Materials on Angular Seed Template fails

still learning angular and started to use the seed angular application skeleton. There I got Problems to implement the angular-material library and CSS by npm/bower. Thats my Problem: $ bower install angular-material bower angular-material#* …
n00n
  • 654
  • 1
  • 10
  • 30
2
votes
1 answer

Difference between ngModules and index.ts

I have been looking at angular seed and I am wondering why do they use both index.ts and modules. from my understanding, they can both be used to export typescript types.
gilmishal
  • 1,884
  • 1
  • 22
  • 37
1
2 3 4 5 6