While experimenting with a sample login form in Angular 2, I encountered an issue when trying to import 'Form_Directives' as:
import { FORM_DIRECTIVES } from '@angular/common';
An error was displayed stating that the angular/common module could not be found. The files I have included are:
<script src="node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script>
<script src="node_modules/es6-shim/es6-shim.min.js"></script>
<script src="node_modules/systemjs/dist/system-polyfills.js"></script>
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<script src="node_modules/rxjs/bundles/Rx.js"></script>
<script src="node_modules/angular2/bundles/angular2.dev.js"></script>
Could it be possible that I missed including some modules? Any assistance would be greatly appreciated.