{"action":"closed","issue":{"url":"https://api.github.com/repos/mgonto/restangular/issues/1384","repository_url":"https://api.github.com/repos/mgonto/restangular","labels_url":"https://api.github.com/repos/mgonto/restangular/issues/1384/labels{/name}","comments_url":"https://api.github.com/repos/mgonto/restangular/issues/1384/comments","events_url":"https://api.github.com/repos/mgonto/restangular/issues/1384/events","html_url":"https://github.com/mgonto/restangular/issues/1384","id":158544958,"number":1384,"title":"_.contains is not a function error on using Angular 1.5.6, LoadAsh 4.13.1 and Restangular 1.3.1","user":{"login":"gauravojha","id":10114860,"avatar_url":"https://avatars.githubusercontent.com/u/10114860?v=3","gravatar_id":"","url":"https://api.github.com/users/gauravojha","html_url":"https://github.com/gauravojha","followers_url":"https://api.github.com/users/gauravojha/followers","following_url":"https://api.github.com/users/gauravojha/following{/other_user}","gists_url":"https://api.github.com/users/gauravojha/gists{/gist_id}","starred_url":"https://api.github.com/users/gauravojha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gauravojha/subscriptions","organizations_url":"https://api.github.com/users/gauravojha/orgs","repos_url":"https://api.github.com/users/gauravojha/repos","events_url":"https://api.github.com/users/gauravojha/events{/privacy}","received_events_url":"https://api.github.com/users/gauravojha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-05T08:55:45Z","updated_at":"2016-06-05T08:58:55Z","closed_at":"2016-06-05T08:58:55Z","body":"Hi,\r\n\r\nI am trying to get started with the basics of Restangular. On following the sample code in the readme, it always throws the error that ._contains is not a function. \r\n\r\nI am using the angular 1.5.6, loadash 4.13.1 and restangular 1.3.1\r\n\r\nThe sample code snippets is as below:\r\n    <script src=\"https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js\"></script>\r\n    <script src=\"https://cdn.jsdelivr.net/lodash/4.13.1/lodash.min.js\"></script>\r\n    <script src=\"http://cdnjs.cloudflare.com/ajax/libs/restangular/1.3.1/restangular.min.js\"></script>\r\n\r\n[products.js.txt](https://github.com/mgonto/restangular/files/299263/products.js.txt)\r\n\r\nI have attached the sample script I am using\r\nThe stack trace in chrome is\r\n`TypeError: _.contains is not a function`\r\n`    at Object.b.isSafe (restangular.min.js:6)`\r\n`    at restangular.min.js:6`\r\n`    at u (lodash.min.js:5)`\r\n`    at Function.me (lodash.min.js:54)`\r\n`    at c (restangular.min.js:6)`\r\n`    at f.resource (restangular.min.js:6)`\r\n`    at Array.y (restangular.min.js:6)`\r\n`    at r (lodash.min.js:5)`\r\n`    at Array.o [as getList] (lodash.min.js:40)`\r\n`    at ab (products.js:12)`\r\n\r\nBut if I write a code like\r\n`Restangular.all(\"www.google.com\");`\r\nThen no error is reported\r\n\r\nWhat am I missing? Am I using an unsupported version of some JS?"}}
{"actor":{"display_login":"gauravojha"}}