diff --git a/index.html b/index.html index cbaa178..b95f32e 100644 --- a/index.html +++ b/index.html @@ -28,7 +28,8 @@ - + diff --git a/pages/home.html b/pages/home.html index 35dabc2..331b274 100644 --- a/pages/home.html +++ b/pages/home.html @@ -12,6 +12,49 @@
+

Startup Jalsa is a platform which brings together successful entrepreneurs with aspiring entrepreneurs - to help them get funding ready. +

  • Watch Startup Jalsa 2016: http://bit.ly/2waJu7G
  • +
  • Watch what startups, mentors and investors think about Startup Jalsa: + http://bit.ly/2wVViYs
  • +
  • Watch how Startup Jalsa 2017 can help you: Startup Jalsa 2017: https://youtu.be/ANNugxCVCJI

  • + Before submitting your application, the following need to be kept in mind:
    + +
    1. In the Ideate edition - Startups from all sectors and stages can submit their application.
    2. + +
    3. Early bird registration deadline: 15th October 2017
      + Idea stage startups: ₹500 + taxes/ Product stage startups: ₹1000 + taxes
    4. +
    5. Last date to register is 31st October 2017
      + Idea stage startups:₹1000 + taxes/ Product stage startups: ₹1500 + taxes
    6. + +
    7. Once you register on our website, you'll get access to Startup Jalsa - Inspire edition near your city - where our mentors will give you personalised feedback one-on-one.
    8. + +
    9. At each Inspire event, Startup Jalsa will give 1 idea stage startup ₹1 Lac funding on the spot. Total of 10 funding slots are available.
    10. + +
    11. Inspire edition of Startup Jalsa is coming to the following cities on the following dates:
    + +
    1. The top startups selected from all over the country will get a chance to participate in Startup Jalsa - Invest edition where they will get to spend 2 days with the top investors, entrepreneurs and policy makers - and pitch them to get funded anywhere upto ₹10 Crores.
    2. +
    3. There will be a separate registration fee for the Startup Jalsa - Invest edition - which will be notified in due time.
    4. +
    5. Startup Jalsa will give 1 product stage startup ₹1 Crore funding at the Invest edition. Total 1 funding spot is available.
    6. +
    7. Startup Jalsa - Invest edition- 25th & 26th November 2017 - Chandigarh
    + + To get started, Select your stage (and the rest follows)
    +

    Please select one stage.

    @@ -245,7 +288,7 @@
    -
    diff --git a/script.js b/script.js index e37d126..0e8047b 100644 --- a/script.js +++ b/script.js @@ -1,5 +1,5 @@ // create the module and name it scotchApp - var scotchApp = angular.module('scotchApp', ['ngRoute']); + var scotchApp = angular.module('scotchApp', ['ngRoute','angular-google-analytics']); // configure our routes scotchApp.config(function($routeProvider) { @@ -31,11 +31,30 @@ }); - scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/api") - //scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api") + scotchApp.config(['AnalyticsProvider', function (AnalyticsProvider) { + // Add configuration code as desired + // AnalyticsProvider.setAccount('UA-106416759-1'); //UU-XXXXXXX-X should be your tracking code + + AnalyticsProvider.setAccount({ + tracker: 'UA-106416759-1', + name: "startupjalsa-app", + trackEvent: true, + trackEcommerce: true + }); + + // Track all routes (default is true). + AnalyticsProvider.trackPages(true); + + // Track all URL query params (default is false). + AnalyticsProvider.trackUrlParams(true); + + }]).run(['Analytics', function(Analytics) { }]); + + //scotchApp.constant("BASE_URL", "http://139.59.68.74:4001/api") + scotchApp.constant("BASE_URL", "http://0.0.0.0:4001/api") // create the controller and inject Angular's $scope - scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL) { + scotchApp.controller('mainController', function($scope, $http, $location, $route, $rootScope, BASE_URL, Analytics) { $scope.data = { show: true, hide: false @@ -170,6 +189,12 @@ /*****THIS IS FOR STEP ONE FORM ******/ $scope.next = function() { + // var pageTracker = _gat._getTracker("UA-12345-1"); + // console.log(pageTracker) + // pageTracker._setDomainName("none"); + // pageTracker._trackPageview(); + Analytics.trackEvent('video', 'play', 'django.mp4'); + $scope.data.status = null if ($scope.data.stage == undefined || $scope.data.name == undefined || $scope.data.email == undefined || $scope.data.number == undefined || $scope.data.city == undefined) { var x = document.getElementById("snackbar") @@ -195,6 +220,11 @@ $scope.userId = result.data.id; }, function myError(error) {}); + + // ga(function() { + // // Logs the "myTracker" tracker object to the console. + // console.log(ga.getByName('myTracker')); + // }); } }