title: How to get Firebase server timestamp?
body: <p>I want to save date to the firebase server with server generated timestamp using Firebase module 'Firebase.ServerValue.TIMESTAMP'.</p>
  
  <p>How can I configure to import Firebase as module in angular2 project.</p>
  
  <p>I am using Angular2, angular-cli, angularFire2 etc. Following are the configuration settings.</p>
  
  <pre><code>System-config.ts
  /** Map relative paths to URLs. */
  const map: any = {
      firebase: 'vendor/firebase/lib/firebase-web.js',
      angularfire2: ' vendor/angularfire2'
  };
  /** User packages configuration.*/
  const packages: any = {
        angularfire2: {
          defaultExtension: 'js',
          main: 'angularfire2.js'
        }
  };
  </code></pre>
  
  <p><strong>angular-cli-build.js</strong></p>
  
  <pre><code>/* global require, module */
  var Angular2App = require('angular-cli/lib/broccoli/angular2-app');
  module.exports = function(defaults) {
    return new Angular2App(defaults, {
      vendorNpmFiles: [
        'systemjs/dist/system-polyfills.js',
        'systemjs/dist/system.src.js',
        'zone.js/dist/**/*.+(js|js.map)',
        'es6-shim/es6-shim.js',
        'reflect-metadata/**/*.+(js|js.map)',
        'rxjs/**/*.+(js|js.map)',
        '@angular/**/*.+(js|js.map)',
  
        // below are the AngularFire entries
        'angularfire2/**/*.js',
        'firebase/lib/*.js'      
      ]
    });
  };
  </code></pre>