Menu icon Foundation
Not Able to import any bower component in index.html

Hi All,

 

I am not able to import any bower component or js in my index.html file.

 

It is giving me the error :

SyntaxError: expected expression, got '<'

Can anyone help on this ?

My index.html file is as below :

<!doctype html>
<html lang="en" ng-app="application">
<head>
<meta charset="utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">


<!-- Tile color for Win8-->
<meta name="msapplication-TileColor" content="#333333">

<!-- Add to homescreen for Chrome on Android-->
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="PSK">
<link rel="icon" sizes="192x192" href="assets/img/android-icon-192x192.png">

<!-- Add to homescreen for Safari on iOS-->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Field Service">
<link rel="apple-touch-icon" href="assets/img/apple-icon-144x144.png">
<meta name="msapplication-TileImage" content="assets/img/apple-icon-144x144.png">


<title>Sample App</title>
<link href="./assets/css/app.css" rel="stylesheet" type="text/css">
<script src="./assets/js/foundation.js"></script>
<script src="assets/js/app.js"></script>
<script src="./assets/js/templates.js"></script>
<script src="./assets/js/routes.js"></script>
</head>
<body>
<div ui-view class="grey"></div>
</body>
</html>
 

bowerFoundationjshtmlimport

Hi All,

 

I am not able to import any bower component or js in my index.html file.

 

It is giving me the error :

SyntaxError: expected expression, got '<'

Can anyone help on this ?

My index.html file is as below :

<!doctype html>
<html lang="en" ng-app="application">
<head>
<meta charset="utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">


<!-- Tile color for Win8-->
<meta name="msapplication-TileColor" content="#333333">

<!-- Add to homescreen for Chrome on Android-->
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="PSK">
<link rel="icon" sizes="192x192" href="assets/img/android-icon-192x192.png">

<!-- Add to homescreen for Safari on iOS-->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Field Service">
<link rel="apple-touch-icon" href="assets/img/apple-icon-144x144.png">
<meta name="msapplication-TileImage" content="assets/img/apple-icon-144x144.png">


<title>Sample App</title>
<link href="./assets/css/app.css" rel="stylesheet" type="text/css">
<script src="./assets/js/foundation.js"></script>
<script src="assets/js/app.js"></script>
<script src="./assets/js/templates.js"></script>
<script src="./assets/js/routes.js"></script>
</head>
<body>
<div ui-view class="grey"></div>
</body>
</html>
 
Niall Horan over 1 year ago

 

Thanks for sharing this worthwhile information here. You can visit this site

 

 

 

 

Online LLP Registration

Geek Shared over 1 year ago

If you are trying to import anything in HTML file, then try opening it with Notepad++ or WordPad file. 

 

I've seen some tutorial on GB WhatsApp latest version website.

 

Regards